summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b4b7f5)
raw | patch | inline | side by side (parent: 8b4b7f5)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Tue, 22 Nov 2011 22:03:05 +0000 (23:03 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 2 Dec 2011 11:08:34 +0000 (12:08 +0100) |
src/command.c | patch | blob | history |
diff --git a/src/command.c b/src/command.c
index 68b8d1e09dcea819d9c27a2619672eb501d37a1e..67e0ad3b11a22a0181076fb0aa488dadf8d57403 100644 (file)
--- a/src/command.c
+++ b/src/command.c
int j;
command_t cmd;
- for(j=0; j<MAX_COMMAND_KEYS; j++)
+ for(j=0; j<MAX_COMMAND_KEYS; j++) {
if (cp[i].keys[j] &&
(cmd = find_key_command(cp[i].keys[j],cp)) != cp[i].command) {
if (buf) {
set_key_flags(cp, cmd, COMMAND_KEY_CONFLICT);
retval = -1;
}
+ }
i++;
}
return retval;