Fix bug with bar background after text with background color (bug #28157)

This commit is contained in:
Sebastien Helleu 2010-02-21 10:08:48 +01:00
parent 6e1e8e9ed8
commit 8c324c238d
2 changed files with 5 additions and 6 deletions

View File

@ -18,6 +18,7 @@ Version 0.3.2 (under dev!)
* core: use arguments for infolist "nicklist" to return only one nick or group
* gui: fix bug with global history, reset pointer to last entry after each user
input (bug #28754)
* gui: fix bug with bar background after text with background color (bug #28157)
* api: add "version_number" for function info_get to get WeeChat version as
number
* api: add functions "string_encode_base64" and "string_decode_base64",, fix

View File

@ -556,12 +556,10 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
{
some_data_not_displayed = 1;
}
while (x < bar_window->width)
{
gui_bar_window_print_string (bar_window,
&x, &y,
" ", 0, 0);
}
gui_window_set_custom_color_fg_bg (GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar,
CONFIG_COLOR(bar_window->bar->options[GUI_BAR_OPTION_COLOR_FG]),
CONFIG_COLOR(bar_window->bar->options[GUI_BAR_OPTION_COLOR_BG]));
wclrtobot (GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar);
x = 0;
y++;
}