patch-util_fluxbox-remote_cc 515 B

1234567891011
  1. --- fluxbox-1.3.7.orig/util/fluxbox-remote.cc 2015-02-08 11:44:45.377187009 +0100
  2. +++ fluxbox-1.3.7/util/fluxbox-remote.cc 2023-01-13 06:47:39.349301911 +0100
  3. @@ -73,7 +73,7 @@ int main(int argc, char **argv) {
  4. if (strcmp(cmd, "result") == 0) {
  5. XTextProperty text_prop;
  6. if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
  7. - && text_prop.value > 0
  8. + && text_prop.value != 0
  9. && text_prop.nitems > 0) {
  10. printf("%s", text_prop.value);