diff options
Diffstat (limited to 'src/cmd/devdraw')
-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 7a4df248..b08601ea 100644 --- a/src/cmd/devdraw/x11-itrans.c +++ b/src/cmd/devdraw/x11-itrans.c @@ -37,7 +37,7 @@ __xtoplan9kbd(XEvent *e) needstack(64*1024); /* X has some *huge* buffers in openobject */ /* and they're even bigger on SuSE */ XLookupString((XKeyEvent*)e,NULL,0,&k,NULL); - if(k == k == NoSymbol) + if(k == NoSymbol) return -1; if(k&0xFF00){ |