From f5bd700b2dbcfe9d29cd095d5f3f604a00d283ea Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Thu, 28 May 2015 13:51:01 -0400 Subject: [PATCH] xrogue: escaping to a shell should not cause a move to the left. This was due to the classic error of forgetting a break statement. --- xrogue/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xrogue/command.c b/xrogue/command.c index 228dd18..51940f2 100644 --- a/xrogue/command.c +++ b/xrogue/command.c @@ -189,7 +189,7 @@ command() count--; switch (ch) { - case '!' : shell(); + case '!' : shell(); break; case KEY_LEFT : do_move(0, -1); when KEY_DOWN : do_move(1, 0); when KEY_UP : do_move(-1, 0);