From f53ac238c3a7318e50dc7183630762a6aa23e4b4 Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Thu, 13 Jan 2011 18:45:17 +0100 Subject: Table stack points are calculated now. --- src/display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/display.c b/src/display.c index f9730dc..c6163e3 100644 --- a/src/display.c +++ b/src/display.c @@ -1,4 +1,5 @@ #include "display.h" +#include "cardstack.h" // Definition of ncurses color pair identifiers #define CP_WHITE_ON_BLACK 1 @@ -126,7 +127,7 @@ void display_window_stack_points(const tablestacks ts) for (uint8_t i = 0; i < NUM_TABLESTACKS; i++) { - mvwprintw(w_stack_points, 3 + i*5, 1, "%2d", i*5); + mvwprintw(w_stack_points, 3 + i*5, 1, "%2d", cardstack_get_points(ts[i])); } wrefresh(w_stack_points); -- cgit v1.2.3