devdraw: fix x11 input

R=rsc
https://codereview.appspot.com/10458043
This commit is contained in:
Russ Cox 2013-06-21 15:28:02 -04:00
parent 1bfec89b99
commit da3ed55e4e

View file

@ -153,7 +153,7 @@ xtoplan9latin1(XEvent *e)
Rune r;
r = __xtoplan9kbd(e);
if(r < 0)
if(r == -1)
return nil;
return sendrune(r);
}