1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Fix display in bars with filling horizontal

This commit is contained in:
Sebastien Helleu
2010-03-04 15:28:16 +01:00
parent 16e62bdc60
commit 401ddff564
-10
View File
@@ -389,16 +389,6 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
free (output);
*x += size_on_screen;
if ((*x >= bar_window->width)
&& (filling == GUI_BAR_FILLING_HORIZONTAL))
{
if (*y >= bar_window->height - 1)
return 0;
*x = 0;
(*y)++;
wmove (GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar, *y, *x);
}
}
}
string = next_char;