Update GUI::Key constructs
svn-id: r27643
This commit is contained in:
parent
05a70fc8e4
commit
f97cbb8294
9 changed files with 85 additions and 82 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue