tokkee.org
Code
projects
/
tig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix set_keymap to error when resolving an unknown keymap
[tig.git]
/
tig.c
diff --git
a/tig.c
b/tig.c
index 7cdd3eaa3371202ed2016eec4cb2e9ec03545295..49ef43727a3925d409276907fe0241ecb7023261 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-2009,7
+2009,7
@@
option_bind_command(int argc, const char *argv[])
return ERR;
}
- if (
set_keymap(&keymap, argv[0]) == ERR
) {
+ if (
!set_keymap(&keymap, argv[0])
) {
config_msg = "Unknown key map";
return ERR;
}