summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62039f4)
raw | patch | inline | side by side (parent: 62039f4)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 24 Dec 2011 17:28:06 +0000 (18:28 +0100) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 24 Dec 2011 17:28:06 +0000 (18:28 +0100) |
src/screen_keydef.c | patch | blob | history |
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 22797eab10b8c5bd83b257db9c3cfaa8059960a9..92c5d3c1ed037a8cbb07bfd4398729b2aeb1e8dc 100644 (file)
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
}
cmd = find_key_command(key, cmds);
- if (cmd != CMD_NONE && cmd != cmds[cmd_index].command) {
+ if (cmd != CMD_NONE) {
screen_status_printf(_("Error: key %s is already used for %s"),
key2str(key),
get_key_command_name(cmd));