From 6282cf8ee2d76901d28d7068e6cacdff32500313 Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Sat, 28 May 2011 00:44:16 -0300 Subject: [PATCH] Saving 104 bytes. --- lib/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/display.c b/lib/display.c index 67160a1..c8b4784 100644 --- a/lib/display.c +++ b/lib/display.c @@ -11,7 +11,7 @@ static char *card_suit(enum suit suit) { char *card_suit; - if (!(card_suit = malloc(5 * sizeof(*card_suit)))) { + if (!(card_suit = malloc(4 * sizeof(*card_suit)))) { fprintf(stderr, tty_solitaire_error_message(errno, __FILE__, __LINE__)); exit(errno); }