summaryrefslogtreecommitdiff
path: root/src/hotkeys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hotkeys.cpp')
-rw-r--r--src/hotkeys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp
index 6d463794f..6856fc10e 100644
--- a/src/hotkeys.cpp
+++ b/src/hotkeys.cpp
@@ -67,7 +67,7 @@ static uint16 ParseCode(const char *start, const char *end)
return *start;
}
for (uint i = 0; i < lengthof(_keycode_to_name); i++) {
- if (strnicmp(start, _keycode_to_name[i].name, end - start) == 0) {
+ if (strncasecmp(start, _keycode_to_name[i].name, end - start) == 0) {
return _keycode_to_name[i].keycode;
}
}