Mercurial > sdl-ios-xcode
diff src/SDL_compat.c @ 1691:c901fd2a42da SDL-1.3
I think this fixes bug #244
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Jun 2006 05:40:57 +0000 |
parents | d36048e8e302 |
children | 931d111e737a |
line wrap: on
line diff
--- a/src/SDL_compat.c Tue Jun 20 05:27:03 2006 +0000 +++ b/src/SDL_compat.c Tue Jun 20 05:40:57 2006 +0000 @@ -209,7 +209,7 @@ Uint32 unicode = 0; if (event->key.type == SDL_KEYDOWN && event->key.keysym.sym < 256) { unicode = event->key.keysym.sym; - if(unicode >= 'a' && unicode <= 'z') { + if (unicode >= 'a' && unicode <= 'z') { int shifted = !!(event->key.keysym.mod & KMOD_SHIFT); int capslock = !!(event->key.keysym.mod & KMOD_CAPS); if ((shifted ^ capslock) != 0) {