Fixed keyboard handling under Win 9x/ME

This commit is contained in:
Alexander S. Aganichev 2000-11-24 20:20:27 +00:00
parent ad269abfa6
commit 8ef102eff3

View File

@ -1189,7 +1189,7 @@ gkey kbxget_raw(int mode) {
if(alt_pressed)
special_key = is_numpad_key(inp); // Alt-<numpad key>
else if(isalnum(ascii) and not ctrl_pressed)
else if(isprint(ascii) and not ctrl_pressed)
special_key = not gkbd_nt; // It is alphanumeric key under Win9x
if(special_key) {
ReadConsole(gkbd_hin, &ascii, 1, &nread, NULL);