View | Details | Raw Unified | Return to bug 216176 | Differences between
and this patch

Collapse All | Expand All

(-)x11-wm/fluxbox/files/patch-git_22866c4 (+25 lines)
Line 0 Link Here
1
From 22866c4d30f5b289c429c5ca88d800200db4fc4f Mon Sep 17 00:00:00 2001
2
From: John Sennesael <john@aminking.com>
3
Date: Mon, 2 Nov 2015 15:14:32 -0600
4
Subject: [PATCH] fixes bug #1138
5
6
---
7
 util/fluxbox-remote.cc | 2 +-
8
 1 file changed, 1 insertion(+), 1 deletion(-)
9
10
diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc
11
index 59852e6a..504015b5 100644
12
--- util/fluxbox-remote.cc
13
+++ util/fluxbox-remote.cc
14
@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
15
     if (strcmp(cmd, "result") == 0) {
16
         XTextProperty text_prop;
17
         if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
18
-            && text_prop.value > 0
19
+            && text_prop.value != 0
20
             && text_prop.nitems > 0) {
21
 
22
             printf("%s", text_prop.value);
23
-- 
24
2.11.0
25

Return to bug 216176