mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -314,8 +314,9 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
|
||||||
if (subline >= cache->count)
|
if (subline >= cache->count)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
color = ATTR_RESET;
|
||||||
need_move = TRUE; need_clrtoeol = FALSE;
|
need_move = TRUE; need_clrtoeol = FALSE;
|
||||||
xpos = color = drawcount = 0; first = TRUE;
|
xpos = drawcount = 0; first = TRUE;
|
||||||
text_newline = text =
|
text_newline = text =
|
||||||
subline == 0 ? line->text : cache->lines[subline-1].start;
|
subline == 0 ? line->text : cache->lines[subline-1].start;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue