From 6b76c21cae59dca49958eaeec9f62d1201c932c0 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 15 Dec 2009 14:43:06 +0100 Subject: [PATCH] Fix bar background color when content of bar is empty --- src/gui/curses/gui-curses-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index bc50b9a74..eaee0d7b7 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -230,7 +230,7 @@ gui_window_clear (WINDOW *window, int bg) if ((bg >= 0) && (bg < GUI_CURSES_NUM_WEECHAT_COLORS)) { - color = gui_weechat_colors[bg].foreground; + color = gui_weechat_colors[bg].background; wbkgdset (window, ' ' | COLOR_PAIR (((color == -1) || (color == 99)) ? gui_color_last_pair : (color * gui_color_num_bg) + 1));