From e64163f7b429162f0edef1f1dd1e5e231a29e6e0 Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Thu, 27 Jan 2011 13:32:00 +0100 Subject: BUGFIX: Wrong size of current state window corrected. Fixes message window glitch. --- src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 08ab64a..b878f61 100644 --- a/src/ui.c +++ b/src/ui.c @@ -274,7 +274,7 @@ void ui_display_wnd_messages(const char *message, const bool highlight) if (highlight) wattron(w_messages, COLOR_PAIR(CP_YELLOW_ON_BLACK)); - mvwprintw(w_messages, 0, 0, "%s", message); + waddstr(w_messages, message); if (highlight) wattroff(w_messages, COLOR_PAIR(CP_YELLOW_ON_BLACK)); @@ -465,7 +465,7 @@ void ui_init(void) // Window positions and sizes w_table_cards = newwin(21, 15, 0, 0); w_stack_points = newwin(19, 4, 0, 17); - w_current_state = newwin(8, 38, 0, 24); + w_current_state = newwin(7, 38, 0, 24); w_messages = newwin(2, 39, 7, 24); w_hand_cards = newwin(11, 39, 10, 24); -- cgit v1.2.3