1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-13 05:03:45 -04:00

fix uninitialised copy on 24bit colours

This commit is contained in:
Ailin Nemui 2014-07-18 13:56:02 +02:00
parent 6e68b83723
commit 8e062b7bd0

View File

@ -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;