1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

core: fix display of "bar more down" char when text is truncated by size_max in bars with vertical filling (bug #37054)

This commit is contained in:
Nils Görs
2012-08-17 19:26:44 +02:00
committed by Sebastien Helleu
parent e59c18109d
commit 5a24709f35
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
+1 -1
View File
@@ -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;