Infinite loop lockup in GetKeyNameText

Dave Hawkes daveh-wine at
Mon Nov 19 11:24:28 CST 2001

GetKeyNameText can lock up in an infinite loop due to an increment wrap when
KeyCode is a char type and max_keycode is 255. Fix attached.

Dave Hawkes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: keyboard.diff
Type: application/octet-stream
Size: 937 bytes
Desc: not available
Url :

More information about the wine-patches mailing list