From 4140c4f3fff1a441f2837f2f911ab0f0368e412a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 5 Sep 2020 23:16:00 +0200 Subject: [PATCH] patch 8.2.1620: searchcount() test fails Problem: searchcount() test fails. Solution: Restore default flag value. --- src/search.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index c1da58b46..28e0adc7a 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 1208ce31a..36416ef17 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1620, /**/ 1619, /**/ -- 2.40.0