diff options
Diffstat (limited to 'src/hotkeys.cpp')
-rw-r--r-- | src/hotkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp index ae8d0a356..8619bd694 100644 --- a/src/hotkeys.cpp +++ b/src/hotkeys.cpp @@ -73,7 +73,7 @@ static uint16 ParseCode(const char *start, const char *end) } } if (end - start == 1) { - if (*start >= 'a' && *start <= 'z') return *start - ('a' - 'A'); + if (*start >= 'a' && *start <= 'z') return *start - ('a'-'A'); return *start; } return 0; |