summaryrefslogtreecommitdiff
path: root/src/fe-common/core/keyboard.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-09-11 18:32:43 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-09-11 18:32:43 +0000
commit50eae89a96586a537d7b876377726e8ac0eadc4e (patch)
tree931f99184957c4731cfcd293fac36aed398eb79b /src/fe-common/core/keyboard.c
parent5360b3eaaf8779940bf5196330de5e9b1af7ed2a (diff)
downloadirssi-50eae89a96586a537d7b876377726e8ac0eadc4e.zip
/BIND ^W-1 was treated as ^W + '-' + '1', not as ^W + '1'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1794 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/keyboard.c')
-rw-r--r--src/fe-common/core/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c
index f69edacc..93c4bcde 100644
--- a/src/fe-common/core/keyboard.c
+++ b/src/fe-common/core/keyboard.c
@@ -289,7 +289,7 @@ static int expand_key(const char *key, GSList **out)
expand_out_char(*out, '^');
expand_out_char(*out, *key);
expand_out_char(*out, '-');
- last_hyphen = TRUE;
+ last_hyphen = FALSE; /* optional */
} else {
/* key / combo */
start = key;