From 3495e08490d52f151ff8fbb1dd4c82463fc0b05e Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Mon, 14 Feb 2011 00:24:19 -0200 Subject: [PATCH] Formatting. --- lib/display.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/display.c b/lib/display.c index 876998a..1d535bb 100644 --- a/lib/display.c +++ b/lib/display.c @@ -119,17 +119,17 @@ void draw_empty_stacks() { MANEUVRE_STARTING_Y, MANEUVRE_3_STARTING_X); empty_stack[10] = newwin(FRAME_HEIGHT, - FRAME_WIDTH, - MANEUVRE_STARTING_Y, - MANEUVRE_4_STARTING_X); + FRAME_WIDTH, + MANEUVRE_STARTING_Y, + MANEUVRE_4_STARTING_X); empty_stack[11] = newwin(FRAME_HEIGHT, - FRAME_WIDTH, - MANEUVRE_STARTING_Y, - MANEUVRE_5_STARTING_X); + FRAME_WIDTH, + MANEUVRE_STARTING_Y, + MANEUVRE_5_STARTING_X); empty_stack[12] = newwin(FRAME_HEIGHT, - FRAME_WIDTH, - MANEUVRE_STARTING_Y, - MANEUVRE_6_STARTING_X); + FRAME_WIDTH, + MANEUVRE_STARTING_Y, + MANEUVRE_6_STARTING_X); for (int i = 0; i < EMPTY_STACKS_NUMBER; i++) { box(empty_stack[i], 0, 0); @@ -144,8 +144,10 @@ void draw_empty_stacks() { void draw_value(struct card *card) { mvwprintw(card->frame->shape, 0, 0, card_value(card->value)); - mvwprintw(card->frame->shape, 4, - 6 - (strlen(card_value(card->value)) - 1), card_value(card->value)); + mvwprintw(card->frame->shape, + 4, + 6 - (strlen(card_value(card->value)) - 1), + card_value(card->value)); return; }