diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc index 59852e6..504015b 100644 --- util/fluxbox-remote.cc +++ util/fluxbox-remote.cc @@ -73,7 +73,7 @@ int main(int argc, char **argv) { if (strcmp(cmd, "result") == 0) { XTextProperty text_prop; if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0 - && text_prop.value > 0 + && text_prop.value != 0 && text_prop.nitems > 0) { printf("%s", text_prop.value);