From 71e4687a7631bd9ba8806ff0463adaf0efd8646a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 25 May 2000 13:27:17 +0000 Subject: [PATCH] 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 --- src/fe-text/gui-windows.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c index 58301d1c..47595953 100644 --- a/src/fe-text/gui-windows.c +++ b/src/fe-text/gui-windows.c @@ -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 */