mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.0-238
This commit is contained in:
10
src/screen.c
10
src/screen.c
@@ -6477,9 +6477,15 @@ next_search_hl(win, shl, lnum, mincol)
|
|||||||
if (called_emsg)
|
if (called_emsg)
|
||||||
{
|
{
|
||||||
/* Error while handling regexp: stop using this regexp. */
|
/* 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;
|
shl->rm.regprog = NULL;
|
||||||
no_hlsearch = TRUE;
|
shl->lnum = 0;
|
||||||
|
got_int = FALSE; /* avoid the "Type :quit to exit Vim" message */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (nmatched == 0)
|
if (nmatched == 0)
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
238,
|
||||||
/**/
|
/**/
|
||||||
237,
|
237,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user