From 0e726b43efad3a4b821bbfe5e5e669e1ba096dfb Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 20 Dec 2012 16:26:41 +0100 Subject: core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874) --- src/gui/curses/gui-curses-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/curses') diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index 7de8cafce..595ee71f9 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -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, -- cgit v1.2.3