# | Line 442 | Line 442 | static | |
---|---|---|
442 | getkey(ekey) /* get input key */ | |
443 | register XKeyPressedEvent *ekey; | |
444 | { | |
445 | < | c_last += XLookupString(ekey, c_queue+c_last, sizeof(c_queue)-c_last, |
445 | > | int n; |
446 | > | |
447 | > | n = XLookupString(ekey, c_queue+c_last, sizeof(c_queue)-c_last, |
448 | NULL, NULL); | |
449 | < | x11_driver.inpready = c_last-c_first; |
449 | > | c_last += n; |
450 | > | x11_driver.inpready += n; |
451 | } | |
452 | ||
453 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |