From c8972ab9e8c47e4c9aa160a37b054f588e404fed Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Sat, 4 Jun 2011 23:54:16 -0300 Subject: [PATCH] Fucking invalid spot. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 2428ae7..da6043c 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -180,7 +180,7 @@ static void handle_card_movement(struct cursor *cursor) { draw_cursor(cursor); } } - if (*origin == *destination) { + if (destination && *origin == *destination) { erase_cursor(cursor); cursor->y--; }