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

core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874)

This commit is contained in:
Sebastien Helleu
2012-12-20 16:26:41 +01:00
parent dd96e6daef
commit 0e726b43ef
+1 -1
View File
@@ -983,7 +983,7 @@ gui_window_draw_separators (struct t_gui_window *window)
/* create/draw horizontal separator */
if (CONFIG_BOOLEAN(config_look_window_separator_horizontal)
&& (window->win_y + window->win_height <
gui_window_get_height () - gui_bar_root_get_size (NULL, GUI_BAR_POSITION_BOTTOM)))
gui_window_get_height () - gui_bar_root_get_size (NULL, GUI_BAR_POSITION_BOTTOM) - 1))
{
GUI_WINDOW_OBJECTS(window)->win_separator_horiz = newwin (1,
window->win_width,