summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-13 15:54:44 +0000
committerrubidium <rubidium@openttd.org>2013-11-13 15:54:44 +0000
commit63e0ff048ea3e2ac76871c27d0ae6320078b3ad0 (patch)
treeb07364254cc4ae945e282a7185a9b1f5e2204358
parent116adbc0e1e6cafd1b7fc2d5a85ef76a6dbd6e58 (diff)
downloadopenttd-63e0ff048ea3e2ac76871c27d0ae6320078b3ad0.tar.xz
(svn r25973) -Fix [FS#5679]: comma key collided with F12 key for hotkeys; also remove '+' as that is generally not a key (the '+' on the numpad is a separate one)
-rw-r--r--src/hotkeys.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp
index 34b8fe4d7..c5a8109ad 100644
--- a/src/hotkeys.cpp
+++ b/src/hotkeys.cpp
@@ -54,8 +54,7 @@ static const KeycodeNames _keycode_to_name[] = {
{"F11", WKC_F11},
{"F12", WKC_F12},
{"PAUSE", WKC_PAUSE},
- {"PLUS", (WindowKeyCodes)'+'},
- {"COMMA", (WindowKeyCodes)','},
+ {"COMMA", WKC_COMMA},
{"NUM_PLUS", WKC_NUM_PLUS},
{"NUM_MINUS", WKC_NUM_MINUS},
{"=", WKC_EQUALS},