diff options
author | Max Horn | 2007-06-23 00:05:32 +0000 |
---|---|---|
committer | Max Horn | 2007-06-23 00:05:32 +0000 |
commit | f97cbb8294eb35fbd3af38fbe37ac35a82c64121 (patch) | |
tree | 24c3759ff046655ad439dd8fd51b165bc4a1a25b /backends/platform/sdl | |
parent | 05a70fc8e404bd2003e8faa3bc1d4564918eca03 (diff) | |
download | scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.tar.gz scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.tar.bz2 scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.zip |
Update GUI::Key constructs
svn-id: r27643
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index 56636dfaa9..2b3c2c18fe 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -59,7 +59,7 @@ static int mapKey(SDLKey key, SDLMod mod, Uint16 unicode) return key; } else if (unicode) { return unicode; - } else if (key >= 'a' && key <= 'z' && mod & KMOD_SHIFT) { + } else if (key >= 'a' && key <= 'z' && (mod & KMOD_SHIFT)) { return key & ~0x20; } else if (key >= SDLK_NUMLOCK && key <= SDLK_EURO) { return 0; |