1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

If line didn't have a color change code at the beginning, it could have

been printed with wrong color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@237 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-05-25 13:27:17 +00:00 committed by cras
parent 5896d8350d
commit 71e4687a76

View File

@ -362,6 +362,8 @@ static void single_line_draw(GUI_WINDOW_REC *gui, int ypos, LINE_CACHE_SUB_REC *
}
move(ypos, xpos);
set_color(color);
while (text != text_end) {
if (*text == '\0') {
/* command */