1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00

If line was split from multiple spaces, irssi printed the spaces in the

beginning of the next line - which wasn't good if the next line was
statusbar..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2045 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-17 17:15:55 +00:00 committed by cras
parent 2f02302f45
commit 1a80491f81

View File

@ -400,7 +400,10 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
term_set_color(view->window, color);
}
text++;
xpos++;
xpos++;
if (xpos == term_width)
text = text_newline;
}
if (need_clrtoeol && xpos < term_width) {