summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorMario Kilies <MarioKilies@GMX.net>2011-01-27 13:32:00 +0100
committerMario Kilies <MarioKilies@GMX.net>2011-01-27 13:32:00 +0100
commite64163f7b429162f0edef1f1dd1e5e231a29e6e0 (patch)
treee321c2987556867f07a393e66e0a2b1dc823bf38 /src/ui.c
parent825d3d7f48d1d8c055be9f6948a44a862358391d (diff)
BUGFIX: Wrong size of current state window corrected. Fixes message window glitch.
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c4
1 files changed, 2 insertions, 2 deletions
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);