From 5a24709f35b2cb0aba7eb8debae4548f0d73a2fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20G=C3=B6rs?= Date: Fri, 17 Aug 2012 19:26:44 +0200 Subject: [PATCH] core: fix display of "bar more down" char when text is truncated by size_max in bars with vertical filling (bug #37054) --- ChangeLog | 2 ++ src/gui/curses/gui-curses-bar-window.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0b64da54d..489f5b82b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ v0.3.9-dev, 2012-08-17 Version 0.3.9 (under dev!) -------------------------- +* core: fix display of "bar more down" char when text is truncated by size_max + in bars with vertical filling (bug #37054) * core: fix color of long lines (displayed on more than one line on screen) under FreeBSD (bug #36999) * core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c index f974a66bc..d225c9fd9 100644 --- a/src/gui/curses/gui-curses-bar-window.c +++ b/src/gui/curses/gui-curses-bar-window.c @@ -347,7 +347,7 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window, if (*x + size_on_screen > bar_window->width) { if (filling == GUI_BAR_FILLING_VERTICAL) - return 0; + return 1; if (*y >= bar_window->height - 1) return 0; *x = 0;