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:
parent
5896d8350d
commit
71e4687a76
@ -362,6 +362,8 @@ static void single_line_draw(GUI_WINDOW_REC *gui, int ypos, LINE_CACHE_SUB_REC *
|
|||||||
}
|
}
|
||||||
|
|
||||||
move(ypos, xpos);
|
move(ypos, xpos);
|
||||||
|
set_color(color);
|
||||||
|
|
||||||
while (text != text_end) {
|
while (text != text_end) {
|
||||||
if (*text == '\0') {
|
if (*text == '\0') {
|
||||||
/* command */
|
/* command */
|
||||||
|
Loading…
Reference in New Issue
Block a user