summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer-view.c
diff options
context:
space:
mode:
authorAilin Nemui <ailin@esf51.localdomain>2014-07-18 13:56:02 +0200
committerAilin Nemui <ailin@esf51.localdomain>2014-07-18 13:56:02 +0200
commit8e062b7bd0ca3a7146bc6ccd7e138e24ee74230d (patch)
tree949de111e7dafee976e3c50134ae65a4feb9f7eb /src/fe-text/textbuffer-view.c
parent6e68b8372322c8d1f794f0b69886d618a33756e9 (diff)
downloadirssi-8e062b7bd0ca3a7146bc6ccd7e138e24ee74230d.zip
fix uninitialised copy on 24bit colours
Diffstat (limited to 'src/fe-text/textbuffer-view.c')
-rw-r--r--src/fe-text/textbuffer-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c
index 2197c1df..3099ee3e 100644
--- a/src/fe-text/textbuffer-view.c
+++ b/src/fe-text/textbuffer-view.c
@@ -213,7 +213,7 @@ view_update_line_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
color = ATTR_RESETFG | ATTR_RESETBG;
xpos = 0; indent_pos = view->default_indent;
last_space = last_color = 0; last_space_ptr = NULL; sub = NULL;
- last_bg24 = last_fg24 = UINT_MAX;
+ bg24 = fg24 = last_bg24 = last_fg24 = UINT_MAX;
indent_func = view->default_indent_func;
linecount = 1;