termux-packages/x11-packages/fluxbox/fluxbox-1.3.7_util_fluxbox-...

13 lines
571 B
Diff
Raw Normal View History

2018-09-10 00:42:26 +02:00
diff -uNr fluxbox-1.3.7/util/fluxbox-remote.cc fluxbox-1.3.7.mod/util/fluxbox-remote.cc
--- fluxbox-1.3.7/util/fluxbox-remote.cc 2015-02-08 12:44:45.377187009 +0200
+++ fluxbox-1.3.7.mod/util/fluxbox-remote.cc 2018-06-19 20:52:20.808391222 +0300
@@ -73,7 +73,7 @@
if (strcmp(cmd, "result") == 0) {
XTextProperty text_prop;
if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
- && text_prop.value > 0
+ && text_prop.value != NULL
&& text_prop.nitems > 0) {
printf("%s", text_prop.value);