1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
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
parent f02d35a8de
commit 38b026b62f

View File

@ -581,7 +581,7 @@ int key_pressed(KEYBOARD_REC *keyboard, const char *key)
/* unknown key combo, eat the invalid key /* unknown key combo, eat the invalid key
unless it was the first key pressed */ unless it was the first key pressed */
g_free(combo); g_free(combo);
return first_key ? 0 : -1; return first_key ? -1 : 1;
} }
if (g_tree_lookup(key_states, combo) != rec) { if (g_tree_lookup(key_states, combo) != rec) {