File diff r15600:240674317399 → r15601:4a167136fc6b
src/hotkeys.cpp
Show inline comments
 
@@ -70,7 +70,7 @@ static uint16 ParseCode(const char *star
 
	while (start < end && *start == ' ') start++;
 
	while (end > start && *end == ' ') end--;
 
	for (uint i = 0; i < lengthof(_keycode_to_name); i++) {
 
		if (strncasecmp(start, _keycode_to_name[i].name, end - start) == 0) {
 
		if (strlen(_keycode_to_name[i].name) == end - start && strncasecmp(start, _keycode_to_name[i].name, end - start) == 0) {
 
			return _keycode_to_name[i].keycode;
 
		}
 
	}