gui: Avoid bogus "key is not bound" message.
[paraslash.git] / gui.c
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);
+               return;
        }
        /* not found, check internal key bindings */
        for (i = 0; command_list[i].handler; i++) {