1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #100 from ailin-nemui/24bit-uninitialised

fix uninitialised copy on 24bit colours
This commit is contained in:
Alexander Færøy 2014-07-20 19:37:37 +02:00
commit 5ddf127f6d

View File

@ -213,7 +213,7 @@ view_update_line_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
color = ATTR_RESETFG | ATTR_RESETBG; color = ATTR_RESETFG | ATTR_RESETBG;
xpos = 0; indent_pos = view->default_indent; xpos = 0; indent_pos = view->default_indent;
last_space = last_color = 0; last_space_ptr = NULL; sub = NULL; 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; indent_func = view->default_indent_func;
linecount = 1; linecount = 1;