summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-12-15 14:43:06 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-12-15 14:43:06 +0100
commit6b76c21cae59dca49958eaeec9f62d1201c932c0 (patch)
treef17ca3954faf2805b41e7e86a662aab2c9ef23ad /src/gui
parenta48576566dbfe5aa43d86dc0729c586459d81ad3 (diff)
downloadweechat-6b76c21cae59dca49958eaeec9f62d1201c932c0.zip
Fix bar background color when content of bar is empty
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-curses-window.c2
1 files changed, 1 insertions, 1 deletions
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));