Commit 916a5cb9 authored by Christian Persch's avatar Christian Persch

widget: Init variable

Fixes a potential condition depending on an uninitialised value.
parent a43ff5df
......@@ -8206,6 +8206,7 @@ vte_terminal_init(VteTerminal *terminal)
/* Matching data. */
pvt->match_regexes = g_array_new(FALSE, TRUE,
sizeof(struct vte_match_regex));
pvt->match_tag = -1;
vte_terminal_match_hilite_clear(terminal);
/* Rendering data */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment