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:
@@ -4062,7 +4062,7 @@ f_searchcount(typval_T *argvars, typval_T *rettv)
|
||||
char_u *pattern = NULL;
|
||||
int maxcount = SEARCH_STAT_DEF_MAX_COUNT;
|
||||
long timeout = SEARCH_STAT_DEF_TIMEOUT;
|
||||
int recompute = FALSE;
|
||||
int recompute = TRUE;
|
||||
searchstat_T stat;
|
||||
|
||||
if (rettv_dict_alloc(rettv) == FAIL)
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1620,
|
||||
/**/
|
||||
1619,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user