Make C-] and other punctuation-based control key combinations work again.

ok nicm
This commit is contained in:
Ryan McBride 2010-05-03 09:38:03 +00:00
parent fc09ec3025
commit c919139433

View File

@ -154,7 +154,7 @@ key_string_lookup_string(const char *string)
if (modifiers & KEYC_CTRL) {
if (key >= 97 && key <= 122)
key -= 96;
else if (key >= 65 && key <= 90)
else if (key >= 64 && key <= 95)
key -= 64;
else if (key == 32)
key = 0;