diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/devdraw/x11-itrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/devdraw/x11-itrans.c b/src/cmd/devdraw/x11-itrans.c index 4eac847e..d84cdc8f 100644 --- a/src/cmd/devdraw/x11-itrans.c +++ b/src/cmd/devdraw/x11-itrans.c @@ -153,7 +153,7 @@ xtoplan9latin1(XEvent *e) Rune r; r = __xtoplan9kbd(e); - if(r < 0) + if(r == -1) return nil; return sendrune(r); } |