diff --git a/key-string.c b/key-string.c index 5e806b81..65d669bf 100644 --- a/key-string.c +++ b/key-string.c @@ -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;