comparison src/video/maccommon/SDL_macevents.c @ 4068:86746036a6d6 SDL-1.2

I think this fixes bug #454
author Sam Lantinga <slouken@libsdl.org>
date Sun, 15 Jul 2007 14:05:31 +0000
parents 0f8a812e2855
children f19931785c42
comparison
equal deleted inserted replaced
4067:07d621a03a94 4068:86746036a6d6
157 } 157 }
158 158
159 /* Check the current state of the keyboard */ 159 /* Check the current state of the keyboard */
160 if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) { 160 if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) {
161 KeyMap keys; 161 KeyMap keys;
162 const Uint8 *keysptr = (Uint8 *) &keys; 162 const Uint8 *keysptr = (Uint8 *) keys;
163 const Uint8 *last_keysptr = (Uint8 *) &last_keys; 163 const Uint8 *last_keysptr = (Uint8 *) last_keys;
164 164
165 /* Check for special non-event keys */ 165 /* Check for special non-event keys */
166 if ( event.modifiers != last_mods ) { 166 if ( event.modifiers != last_mods ) {
167 static struct { 167 static struct {
168 EventModifiers mask; 168 EventModifiers mask;