summaryrefslogtreecommitdiffstats
path: root/key-string.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-09 13:52:31 +0000
committernicm <nicm>2020-04-09 13:52:31 +0000
commitb96ac809018c461b55aed66459a68a71dd08047f (patch)
treee8a3ea7ce40ff18088c0113ee76d1c4f834b3999 /key-string.c
parentc4d0089edb802763619724e405ac2715542969d5 (diff)
Some unnecessary assignments and unused variables.
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/key-string.c b/key-string.c
index 76ee4fbe..2a0602b2 100644
--- a/key-string.c
+++ b/key-string.c
@@ -229,10 +229,8 @@ key_string_lookup_string(const char *string)
key -= 64;
else if (key == 32)
key = 0;
- else if (key == '?')
- key = 127;
else if (key == 63)
- key = KEYC_BSPACE;
+ key = 127;
else
return (KEYC_UNKNOWN);
modifiers &= ~KEYC_CTRL;