I think this fixes bug #454

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402533
This commit is contained in:
Sam Lantinga 2007-07-15 14:05:31 +00:00
parent 1012f68044
commit 0468ab7f14

View file

@ -159,8 +159,8 @@ static int Mac_HandleEvents(_THIS, int wait4it)
/* Check the current state of the keyboard */
if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) {
KeyMap keys;
const Uint8 *keysptr = (Uint8 *) &keys;
const Uint8 *last_keysptr = (Uint8 *) &last_keys;
const Uint8 *keysptr = (Uint8 *) keys;
const Uint8 *last_keysptr = (Uint8 *) last_keys;
/* Check for special non-event keys */
if ( event.modifiers != last_mods ) {