summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.c b/src/ui.c
index 04938c5..0c14ed0 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -221,7 +221,7 @@ void ui_display_wnd_current_state(const player_list_t *pl, const uint8_t num_pla
assert(pl != NULL);
uint8_t pos = 0;
- wclear(w_current_state);
+ werase(w_current_state);
wattron(w_current_state, A_BOLD);
mvwprintw(w_current_state, 0, 0, "Current state:");
mvwprintw(w_current_state, 0, 22, "Your Score: %3d", score);
@@ -271,7 +271,7 @@ void ui_display_wnd_current_state(const player_list_t *pl, const uint8_t num_pla
*/
void ui_display_wnd_messages(const char *message, const bool highlight)
{
- wclear(w_messages);
+ werase(w_messages);
if (highlight)
wattron(w_messages, COLOR_PAIR(CP_YELLOW_ON_BLACK));