diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-25 13:27:17 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-25 13:27:17 +0000 |
commit | 71e4687a7631bd9ba8806ff0463adaf0efd8646a (patch) | |
tree | ad9e2e86a865a5030050e4f92f915280fe62ba62 | |
parent | 5896d8350da72bd5fac9610166f6ff716b648449 (diff) | |
download | irssi-71e4687a7631bd9ba8806ff0463adaf0efd8646a.zip |
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
-rw-r--r-- | src/fe-text/gui-windows.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |