summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-20 16:26:41 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-20 16:26:41 +0100
commit0e726b43efad3a4b821bbfe5e5e669e1ba096dfb (patch)
tree95c67ad3afc1df460e8bec3e28ad828b11b39f3d /src/gui/curses
parentdd96e6daef45aa5b763b674524811534e92504ab (diff)
downloadweechat-0e726b43efad3a4b821bbfe5e5e669e1ba096dfb.zip
core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874)
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-curses-window.c2
1 files changed, 1 insertions, 1 deletions
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,