From: Bram Moolenaar Date: Sat, 5 Sep 2020 21:16:00 +0000 (+0200) Subject: patch 8.2.1620: searchcount() test fails X-Git-Tag: v8.2.1620 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4140c4f3fff1a441f2837f2f911ab0f0368e412a;p=vim patch 8.2.1620: searchcount() test fails Problem: searchcount() test fails. Solution: Restore default flag value. --- 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, /**/