diff options
author | Alexander Færøy <ahf@0x90.dk> | 2014-07-20 19:37:37 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2014-07-20 19:37:37 +0200 |
commit | 5ddf127f6d5e32450ce4db10d756f924cdbc946b (patch) | |
tree | 949de111e7dafee976e3c50134ae65a4feb9f7eb /src | |
parent | 6e68b8372322c8d1f794f0b69886d618a33756e9 (diff) | |
parent | 8e062b7bd0ca3a7146bc6ccd7e138e24ee74230d (diff) | |
download | irssi-5ddf127f6d5e32450ce4db10d756f924cdbc946b.zip |
Merge pull request #100 from ailin-nemui/24bit-uninitialised
fix uninitialised copy on 24bit colours
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/textbuffer-view.c | 2 |
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; |