core: remove gap after read marker line when there is no bar on the right (bug #39548)

This commit is contained in:
Sebastien Helleu 2013-07-22 18:25:35 +02:00
parent f7f019887d
commit c14b1b5fae
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.2-dev, 2013-07-20
v0.4.2-dev, 2013-07-22
This document lists all changes for each version.
@ -14,6 +14,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
Version 0.4.2 (under dev!)
--------------------------
* core: remove gap after read marker line when there is no bar on the right
(bug #39548)
* core: add CA_FILE option in cmake and configure to setup default
value of option weechat.network.gnutls_ca_file (default is
"/etc/ssl/certs/ca-certificates.crt") (task #12725)

View File

@ -193,7 +193,7 @@ gui_chat_display_horizontal_line (struct t_gui_window *window, int simulate)
window->win_chat_cursor_y, window->win_chat_cursor_x);
wclrtoeol (GUI_WINDOW_OBJECTS(window)->win_chat);
x = 0;
while (x < window->win_chat_width - 1)
while (x < gui_chat_get_real_width (window))
{
mvwprintw (GUI_WINDOW_OBJECTS(window)->win_chat,
window->win_chat_cursor_y, x,