ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/x11.c
(Generate patch)

Comparing ray/src/rt/x11.c (file contents):
Revision 1.6 by greg, Fri Feb 23 10:26:30 1990 UTC vs.
Revision 1.7 by greg, Fri Feb 23 14:50:38 1990 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines