From f7ee503596e5713dafcf4107855b75834843a8d3 Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Sun, 11 Apr 2010 17:13:06 -0300 Subject: [PATCH] The 'six' card was being print wrong. --- debug/card_debug.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/debug/card_debug.c b/debug/card_debug.c index 3257ad2..70596e4 100644 --- a/debug/card_debug.c +++ b/debug/card_debug.c @@ -6,25 +6,25 @@ void print_card(struct card *card) { case NO_FACE: printf("No face "); break; case COVERED: printf("Covered "); break; case EXPOSED: printf("Exposed "); break; - default : printf("?"); + default : printf("? "); } switch (card->value) { case NO_VALUE: printf(", no value "); break; - case TWO : printf("two"); break; + case TWO : printf("two "); break; case THREE : printf("three "); break; case FOUR : printf("four "); break; - case FIVE : printf("five"); break; - case SIX : printf("six"); break; - case SEVEN : printf("seven"); break; - case EIGHT : printf("eight"); break; - case NINE : printf("nine"); break; - case TEN : printf("ten"); break; - case JACK : printf("jack"); break; + case FIVE : printf("five "); break; + case SIX : printf("six "); break; + case SEVEN : printf("seven "); break; + case EIGHT : printf("eight "); break; + case NINE : printf("nine "); break; + case TEN : printf("ten "); break; + case JACK : printf("jack "); break; case QUEEN : printf("queen "); break; case KING : printf("king "); break; case ACE : printf("ace "); break; - default : printf("?"); + default : printf("? "); } switch (card->suit) {