mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
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
This commit is contained in:
parent
23fe491e84
commit
fee2ad09c9
@ -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 (;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user