summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch')
-rw-r--r--x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch b/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch
new file mode 100644
index 000000000000..48076680f207
--- /dev/null
+++ b/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch
@@ -0,0 +1,11 @@
+--- a/xsnap.c
++++ b/xsnap.c
+@@ -2254,7 +2254,7 @@
+ if (op_mode == 0)
+ exitXsnap (NULL, NULL, snap_pixmap, copy_gc);
+
+- if (!root_name)
++ if (*root_name == '\0')
+ strcpy(output_name, "(stdout)");
+
+ if (op_mode == 2) {