1
0
forked from aniani/vim

patch 8.2.1620: searchcount() test fails

Problem:    searchcount() test fails.
Solution:   Restore default flag value.
This commit is contained in:
Bram Moolenaar
2020-09-05 23:16:00 +02:00
parent 7c27f337bf
commit 4140c4f3ff
2 changed files with 3 additions and 1 deletions

View File

@@ -4062,7 +4062,7 @@ f_searchcount(typval_T *argvars, typval_T *rettv)
char_u *pattern = NULL; char_u *pattern = NULL;
int maxcount = SEARCH_STAT_DEF_MAX_COUNT; int maxcount = SEARCH_STAT_DEF_MAX_COUNT;
long timeout = SEARCH_STAT_DEF_TIMEOUT; long timeout = SEARCH_STAT_DEF_TIMEOUT;
int recompute = FALSE; int recompute = TRUE;
searchstat_T stat; searchstat_T stat;
if (rettv_dict_alloc(rettv) == FAIL) if (rettv_dict_alloc(rettv) == FAIL)

View File

@@ -754,6 +754,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 */
/**/
1620,
/**/ /**/
1619, 1619,
/**/ /**/