aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Sennesael <john@aminking.com>2015-11-02 21:14:32 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-01-09 19:20:53 (GMT)
commit22866c4d30f5b289c429c5ca88d800200db4fc4f (patch)
tree34d6048c3de439ca8d5b50e9717400f873ff6ac1
parent3c06e9e93fd2057e26bb9df081d8b732916c49d5 (diff)
downloadfluxbox-22866c4d30f5b289c429c5ca88d800200db4fc4f.zip
fluxbox-22866c4d30f5b289c429c5ca88d800200db4fc4f.tar.bz2
fixes bug #1138
-rw-r--r--util/fluxbox-remote.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc
index 59852e6..504015b 100644
--- a/util/fluxbox-remote.cc
+++ b/util/fluxbox-remote.cc
@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
73 if (strcmp(cmd, "result") == 0) { 73 if (strcmp(cmd, "result") == 0) {
74 XTextProperty text_prop; 74 XTextProperty text_prop;
75 if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0 75 if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
76 && text_prop.value > 0 76 && text_prop.value != 0
77 && text_prop.nitems > 0) { 77 && text_prop.nitems > 0) {
78 78
79 printf("%s", text_prop.value); 79 printf("%s", text_prop.value);