diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-09-11 19:17:12 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-09-11 19:17:12 +0200 |
commit | 1c8b5de992131cc255b18781b5da528220392c6b (patch) | |
tree | 47ea1a7bc17eed209ee8147e6e7e4156f82ed2f1 /sys/src/cmd/winwatch.c | |
parent | be7f3fb5e44b3f282a26fa7c6dd50a08677ae069 (diff) |
winwatch: show windows with empty labels (thanks jpm)
Diffstat (limited to 'sys/src/cmd/winwatch.c')
-rw-r--r-- | sys/src/cmd/winwatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/winwatch.c b/sys/src/cmd/winwatch.c index d8feebbe9..988a7cb55 100644 --- a/sys/src/cmd/winwatch.c +++ b/sys/src/cmd/winwatch.c @@ -117,7 +117,7 @@ refreshwin(void) n = atoi(pd[i].name); if(n == mywinid) continue; - if(readfile(label, sizeof(label), "/dev/wsys/%d/label", n) <= 0) + if(readfile(label, sizeof(label), "/dev/wsys/%d/label", n) < 0) continue; if(exclude != nil && regexec(exclude,label,nil,0)) continue; |