fixes bug #1138
This commit is contained in:
parent
3c06e9e93f
commit
22866c4d30
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue