From 688713e9970982cf9d124b956f18a7640d3bd042 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 22 Apr 2010 09:27:24 +0200 Subject: [PATCH] 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. --- gui.c | 1 + 1 file changed, 1 insertion(+) 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++) { -- 2.39.5