ports/x11/fluxbox/patches/patch-util_fluxbox-remote_cc

11 lines
465 B
Text

--- util/fluxbox-remote.cc.orig Sun Feb 8 21:44:45 2015
+++ util/fluxbox-remote.cc Sat Apr 22 17:45:31 2017
@@ -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);