Skip to content

Commit

Permalink
I think this fixes bug #454
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 15, 2007
1 parent 9a1ce6e commit 04755c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/maccommon/SDL_macevents.c
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 04755c2

Please sign in to comment.