summaryrefslogtreecommitdiffstats
path: root/key-string.c
diff options
context:
space:
mode:
authorRyan McBride <mcbride@openbsd.org>2010-05-03 09:38:03 +0000
committerRyan McBride <mcbride@openbsd.org>2010-05-03 09:38:03 +0000
commitc9191394332342a570dc6620bc8cfd7c6e554e1b (patch)
treee1930b88f5378d0e412a7d6584a313ae614fdc11 /key-string.c
parentfc09ec30257948222a45039cd55c6d27c1984824 (diff)
Make C-] and other punctuation-based control key combinations work again.
ok nicm
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c2
1 files changed, 1 insertions, 1 deletions
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;