diff options
-rw-r--r-- | util/fluxbox-remote.cc | 2 |
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); |