Skip to content

Commit

Permalink
An attempt at fixing Bugzilla #454.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 15, 2007
1 parent 04755c2 commit e1cd8a3
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 Uint32 *keysptr = (Uint32 *) &keys;
const Uint32 *last_keysptr = (Uint32 *) &last_keys;

/* Check for special non-event keys */
if ( event.modifiers != last_mods ) {
Expand Down

0 comments on commit e1cd8a3

Please sign in to comment.