git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3172 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-11-17 18:10:00 +00:00 committed by cras
commit 38b026b62f

View file

@ -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) {