1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

Fix bar background color when content of bar is empty

This commit is contained in:
Sebastien Helleu
2009-12-15 14:43:06 +01:00
parent a48576566d
commit 6b76c21cae
+1 -1
View File
@@ -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));