summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-infobar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-infobar.c')
-rw-r--r--src/gui/curses/gui-curses-infobar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-infobar.c b/src/gui/curses/gui-curses-infobar.c
index 94a222136..f4a7d04f8 100644
--- a/src/gui/curses/gui-curses-infobar.c
+++ b/src/gui/curses/gui-curses-infobar.c
@@ -98,8 +98,8 @@ gui_infobar_draw (struct t_gui_buffer *buffer, int erase)
for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window)
{
if (erase)
- gui_window_curses_clear (GUI_CURSES(ptr_win)->win_infobar,
- GUI_COLOR_INFOBAR);
+ gui_window_clear_weechat (GUI_CURSES(ptr_win)->win_infobar,
+ GUI_COLOR_INFOBAR);
gui_window_set_weechat_color (GUI_CURSES(ptr_win)->win_infobar,
GUI_COLOR_INFOBAR);