summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-05 23:16:00 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-05 23:16:00 +0200
commit4140c4f3fff1a441f2837f2f911ab0f0368e412a (patch)
treec27ada449809a7ea337b069aa822947001e4d93b /src
parent7c27f337bf278babc1ccdcb66ac975f115d660b7 (diff)
patch 8.2.1620: searchcount() test failsv8.2.1620
Problem: searchcount() test fails. Solution: Restore default flag value.
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index c1da58b461..28e0adc7ae 100644
--- a/src/search.c
+++ b/src/search.c
@@ -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)
diff --git a/src/version.c b/src/version.c
index 1208ce31a6..36416ef171 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1620,
+/**/
1619,
/**/
1618,