Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_sysevents.c @ 1:cf2af46e9e2a
Changes since SDL 1.2.0 release
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:50:19 +0000 |
parents | 74212992fb08 |
children | e30a8ce27c22 |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c Thu Apr 26 16:45:43 2001 +0000 +++ b/src/video/wincommon/SDL_sysevents.c Thu Apr 26 16:50:19 2001 +0000 @@ -134,10 +134,10 @@ if ( keyboard[VK_RMENU] & 0x80) { state |= KMOD_RALT; } - if ( keyboard[VK_NUMLOCK] & 0x80) { + if ( keyboard[VK_NUMLOCK] & 0x01) { state |= KMOD_NUM; } - if ( keyboard[VK_CAPITAL] & 0x80) { + if ( keyboard[VK_CAPITAL] & 0x01) { state |= KMOD_CAPS; } }