diff options
| author | Mario Kilies <MarioKilies@GMX.net> | 2011-01-27 13:32:00 +0100 |
|---|---|---|
| committer | Mario Kilies <MarioKilies@GMX.net> | 2011-01-27 13:32:00 +0100 |
| commit | e64163f7b429162f0edef1f1dd1e5e231a29e6e0 (patch) | |
| tree | e321c2987556867f07a393e66e0a2b1dc823bf38 /src | |
| parent | 825d3d7f48d1d8c055be9f6948a44a862358391d (diff) | |
BUGFIX: Wrong size of current state window corrected. Fixes message window glitch.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
