From 36bc8e7d8e0efbdbb64bebd1c17348cd048fd1a0 Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Tue, 31 May 2011 22:43:22 -0300 Subject: [PATCH] Fixed ESC pressing while holding a card. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index ac3de27..c301d40 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -69,7 +69,7 @@ static void handle_card_movement(struct cursor *cursor) { unmark_cursor(cursor); draw_cursor(cursor); } - break; + return; case 'h': case KEY_LEFT: move_cursor(cursor, LEFT);