Skip to content
Snippets Groups Projects
Commit 0ddf0a7d authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.0-238

parent 8243a792
No related merge requests found
......@@ -6477,9 +6477,15 @@ next_search_hl(win, shl, lnum, mincol)
if (called_emsg)
{
/* Error while handling regexp: stop using this regexp. */
vim_free(shl->rm.regprog);
if (shl == &search_hl)
{
/* don't free the regprog in match_hl[], it's a copy */
vim_free(shl->rm.regprog);
no_hlsearch = TRUE;
}
shl->rm.regprog = NULL;
no_hlsearch = TRUE;
shl->lnum = 0;
got_int = FALSE; /* avoid the "Type :quit to exit Vim" message */
break;
}
if (nmatched == 0)
......
......@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
238,
/**/
237,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment