projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d656b93
)
gui: Avoid bogus "key is not bound" message.
author
Andre Noll
<maan@systemlinux.org>
Thu, 22 Apr 2010 07:27:24 +0000
(09:27 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 22 Apr 2010 07:27:24 +0000
(09:27 +0200)
Commit
0e4306dd5162a2850e623bf3082b3f7291aaad45
introduced a
bug causing para_gui to print a "key not found" message after
each command. Fix it by inserting a missing return statement.
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index 5f2dba0230cf409e0f80820c8314d5d6cc1d6e84..64fab61b7859e5192a3d1583a693622be8977087 100644
(file)
--- a/
gui.c
+++ b/
gui.c
@@
-1373,6
+1373,7
@@
static void handle_command(int c)
command_list[num].handler();
}
free(tmp);
command_list[num].handler();
}
free(tmp);
+ return;
}
/* not found, check internal key bindings */
for (i = 0; command_list[i].handler; i++) {
}
/* not found, check internal key bindings */
for (i = 0; command_list[i].handler; i++) {