# HG changeset patch # User Sam Lantinga # Date 1184508331 0 # Node ID 86746036a6d6badde87ee070c20334d9b3331e6d # Parent 07d621a03a94c1c4139d519eae1aa26f293ac91d I think this fixes bug #454 diff -r 07d621a03a94 -r 86746036a6d6 src/video/maccommon/SDL_macevents.c --- a/src/video/maccommon/SDL_macevents.c Sat Jul 14 21:09:54 2007 +0000 +++ b/src/video/maccommon/SDL_macevents.c Sun Jul 15 14:05:31 2007 +0000 @@ -159,8 +159,8 @@ /* 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 ) {