summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a353e9)
raw | patch | inline | side by side (parent: 8a353e9)
author | Kalle Wallin <kaw@linux.se> | |
Wed, 21 Jul 2004 09:59:31 +0000 (09:59 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Wed, 21 Jul 2004 09:59:31 +0000 (09:59 +0000) |
src/command.c | patch | blob | history |
diff --git a/src/command.c b/src/command.c
index d38402b2cdac5bb84056cc09a79902ec152aeef2..aecf31ab716a72140ec000dd8fd22efae5a38dec 100644 (file)
--- a/src/command.c
+++ b/src/command.c
int i;
i=0;
- while( cmds && cmds[i].name )
+ while( key && cmds && cmds[i].name )
{
if( cmds[i].keys[0] == key ||
cmds[i].keys[1] == key ||