diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-15 21:01:38 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-15 21:01:38 +0000 |
commit | fee2ad09c9f46d46fdc2fdd89c4febc50c5dbad4 (patch) | |
tree | 8e48fe4b99b9909d8ffa613f80ac25447c4bd7cd /src/fe-text | |
parent | 23fe491e84db152ff595b5411b97f5208e08926c (diff) | |
download | irssi-fee2ad09c9f46d46fdc2fdd89c4febc50c5dbad4.zip |
The default color for line should be ATTR_RESET, not 0 (black).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2025 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/textbuffer-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index 41f949e4..1e65e430 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -314,8 +314,9 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line, if (subline >= cache->count) return 0; + color = ATTR_RESET; need_move = TRUE; need_clrtoeol = FALSE; - xpos = color = drawcount = 0; first = TRUE; + xpos = drawcount = 0; first = TRUE; text_newline = text = subline == 0 ? line->text : cache->lines[subline-1].start; for (;;) { |