From: Andre Noll Date: Thu, 22 Apr 2010 07:27:24 +0000 (+0200) Subject: gui: Avoid bogus "key is not bound" message. X-Git-Tag: v0.4.2~7 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=688713e9970982cf9d124b956f18a7640d3bd042;p=paraslash.git gui: Avoid bogus "key is not bound" message. 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. --- diff --git a/gui.c b/gui.c index 5f2dba02..64fab61b 100644 --- a/gui.c +++ b/gui.c @@ -1373,6 +1373,7 @@ static void handle_command(int c) command_list[num].handler(); } free(tmp); + return; } /* not found, check internal key bindings */ for (i = 0; command_list[i].handler; i++) {