Skip to content

Commit 4140c4f

Browse files
committed
patch 8.2.1620: searchcount() test fails
Problem: searchcount() test fails. Solution: Restore default flag value.
1 parent 7c27f33 commit 4140c4f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/search.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4062,7 +4062,7 @@ f_searchcount(typval_T *argvars, typval_T *rettv)
40624062
char_u *pattern = NULL;
40634063
int maxcount = SEARCH_STAT_DEF_MAX_COUNT;
40644064
long timeout = SEARCH_STAT_DEF_TIMEOUT;
4065-
int recompute = FALSE;
4065+
int recompute = TRUE;
40664066
searchstat_T stat;
40674067

40684068
if (rettv_dict_alloc(rettv) == FAIL)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1620,
757759
/**/
758760
1619,
759761
/**/

0 commit comments

Comments
 (0)