summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-07-22 18:25:35 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-07-22 18:25:35 +0200
commitc14b1b5fae241e19bfc505dcb427ca88b8d5554d (patch)
tree09c0f8846f177125abf0391304f61d49faddbb87 /src
parentf7f019887d8e7552a499470fa6969273ad12a845 (diff)
downloadweechat-c14b1b5fae241e19bfc505dcb427ca88b8d5554d.zip
core: remove gap after read marker line when there is no bar on the right (bug #39548)
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/gui-curses-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index aa75ac4c1..0d753719f 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -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,