src/video/win32/SDL_win32keyboard.c
changeset 4561 e4b2b7207f79
parent 4465 3e69e077cb95
child 4763 518d1679d2d0
--- a/src/video/win32/SDL_win32keyboard.c	Tue Jul 20 23:25:24 2010 -0700
+++ b/src/video/win32/SDL_win32keyboard.c	Tue Jul 20 23:59:16 2010 -0700
@@ -101,8 +101,7 @@
 
         /* Make sure this scancode is a valid character scancode */
         scancode = win32_scancode_table[i];
-        if (scancode == SDL_SCANCODE_UNKNOWN ||
-            (keymap[scancode] & SDLK_SCANCODE_MASK)) {
+        if (scancode == SDL_SCANCODE_UNKNOWN || keymap[scancode] >= 127) {
             continue;
         }