diff options
author | Russ Cox <rsc@swtch.com> | 2013-06-21 15:28:02 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2013-06-21 15:28:02 -0400 |
commit | da3ed55e4e4d2d3052b03df3dd0a40d19f99ea70 (patch) | |
tree | 7a2226a422743407bfeb42c110b7ab4ca8c7c176 /src/cmd | |
parent | 1bfec89b997c9544100128fec6e0b0c3757fdd11 (diff) | |
download | plan9port-da3ed55e4e4d2d3052b03df3dd0a40d19f99ea70.tar.gz plan9port-da3ed55e4e4d2d3052b03df3dd0a40d19f99ea70.tar.bz2 plan9port-da3ed55e4e4d2d3052b03df3dd0a40d19f99ea70.zip |
devdraw: fix x11 input
R=rsc
https://codereview.appspot.com/10458043
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); } |