projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed uppercase key bug
[physics.git]
/
src
/
config
/
reader.cpp
diff --git
a/src/config/reader.cpp
b/src/config/reader.cpp
index
a981719
..
0335faf
100644
(file)
--- a/
src/config/reader.cpp
+++ b/
src/config/reader.cpp
@@
-208,7
+208,7
@@
void createKeyMap()
for (int i = 'A'; i <= 'Z'; i++) // uppercase
{
buf[0] = (char)i;
- keyMap[buf] = (SDLKey)
i
;
+ keyMap[buf] = (SDLKey)
(i + 'a' - 'A')
;
}
for (int i = 'a'; i <= 'z'; i++) // lowercase
{