From 8ef102eff3f48fd8fdbfc299599ff7dbe95dbdfb Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Fri, 24 Nov 2000 20:20:27 +0000 Subject: [PATCH] Fixed keyboard handling under Win 9x/ME --- goldlib/gall/gkbdbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goldlib/gall/gkbdbase.cpp b/goldlib/gall/gkbdbase.cpp index 2218887..5040dde 100644 --- a/goldlib/gall/gkbdbase.cpp +++ b/goldlib/gall/gkbdbase.cpp @@ -1189,7 +1189,7 @@ gkey kbxget_raw(int mode) { if(alt_pressed) special_key = is_numpad_key(inp); // Alt- - 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);