diff options
author | Timo Sirainen <cras@irssi.org> | 2003-11-17 18:10:00 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2003-11-17 18:10:00 +0000 |
commit | 38b026b62fc590b8b3bf7594be1bcfc6e874385e (patch) | |
tree | e4878eaf1b7a6b95bf2ac4b5a9878544a79343cf /src/fe-common/core | |
parent | f02d35a8de2bfda48fd6efc4dc5c56faba30d00b (diff) | |
download | irssi-38b026b62fc590b8b3bf7594be1bcfc6e874385e.zip |
fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3172 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c index f117c76f..717bed1f 100644 --- a/src/fe-common/core/keyboard.c +++ b/src/fe-common/core/keyboard.c @@ -581,7 +581,7 @@ int key_pressed(KEYBOARD_REC *keyboard, const char *key) /* unknown key combo, eat the invalid key unless it was the first key pressed */ g_free(combo); - return first_key ? 0 : -1; + return first_key ? -1 : 1; } if (g_tree_lookup(key_states, combo) != rec) { |