Commit 3b3b5c04 authored by Ryan C. Gordon's avatar Ryan C. Gordon

An attempt at fixing Bugzilla #454.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402534
parent 0468ab7f
...@@ -159,8 +159,8 @@ static int Mac_HandleEvents(_THIS, int wait4it) ...@@ -159,8 +159,8 @@ static int Mac_HandleEvents(_THIS, int wait4it)
/* Check the current state of the keyboard */ /* Check the current state of the keyboard */
if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) { if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) {
KeyMap keys; KeyMap keys;
const Uint8 *keysptr = (Uint8 *) keys; const Uint32 *keysptr = (Uint32 *) &keys;
const Uint8 *last_keysptr = (Uint8 *) last_keys; const Uint32 *last_keysptr = (Uint32 *) &last_keys;
/* Check for special non-event keys */ /* Check for special non-event keys */
if ( event.modifiers != last_mods ) { if ( event.modifiers != last_mods ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment