Problem: Accessing invalid memory. (Dominique Pelle)
Solution: Reset highlight_match every time. (closes #5125)
curwin->w_redr_status = TRUE;
update_screen(SOME_VALID);
+ highlight_match = FALSE;
restore_last_search_pattern();
// Leave it at the end to make CTRL-R CTRL-W work. But not when beyond the
highlight_match = TRUE;
save_viewstate(&is_state->old_viewstate);
update_screen(NOT_VALID);
+ highlight_match = FALSE;
redrawcmdline();
curwin->w_cursor = is_state->match_end;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2222,
/**/
2221,
/**/