add_keybinding: always allocate the new keybinding
authorJonas Fonseca <fonseca@diku.dk>
Thu, 28 Sep 2006 11:51:38 +0000 (13:51 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Thu, 28 Sep 2006 11:51:38 +0000 (13:51 +0200)
commit8b534a13651f1416d368bcc10b496ca189c2ca0c
tree549bf0af4873dfc4b78edd4357b500b833bf506e
parentd27080b3754c8d5ac000d5206d8331a738086809
add_keybinding: always allocate the new keybinding

Fixes infinite loop repoted by Miciah. Also simply continue when wgetch
returns ERR (-1) instead of calling get_keybinding() etc.
tig.c