1
0
forked from aniani/vim

updated for version 7.0189

This commit is contained in:
Bram Moolenaar
2006-01-30 00:14:18 +00:00
parent 17c7c01170
commit 280f126ef0
27 changed files with 379 additions and 251 deletions

View File

@@ -521,6 +521,7 @@ searchit(win, buf, pos, dir, pat, count, options, pat_use)
int match_ok;
long nmatched;
int submatch = 0;
int save_called_emsg = called_emsg;
#ifdef FEAT_SEARCH_EXTRA
int break_loop = FALSE;
#else
@@ -552,9 +553,9 @@ searchit(win, buf, pos, dir, pat, count, options, pat_use)
else
extra_col = 1;
/*
* find the string
*/
/*
* find the string
*/
called_emsg = FALSE;
do /* loop for count */
{
@@ -865,6 +866,8 @@ searchit(win, buf, pos, dir, pat, count, options, pat_use)
vim_free(regmatch.regprog);
called_emsg |= save_called_emsg;
if (!found) /* did not find it */
{
if (got_int)