Saving 104 bytes.

This commit is contained in:
Murilo Pereira 2011-05-28 00:44:16 -03:00
parent 52e396a9df
commit 6282cf8ee2

View File

@ -11,7 +11,7 @@
static char *card_suit(enum suit suit) { static char *card_suit(enum suit suit) {
char *card_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__)); fprintf(stderr, tty_solitaire_error_message(errno, __FILE__, __LINE__));
exit(errno); exit(errno);
} }