]> granicus.if.org Git - vim/commitdiff
patch 8.2.1620: searchcount() test fails v8.2.1620
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Sep 2020 21:16:00 +0000 (23:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Sep 2020 21:16:00 +0000 (23:16 +0200)
Problem:    searchcount() test fails.
Solution:   Restore default flag value.

src/search.c
src/version.c

index c1da58b461ab641ae40a8c7619da4dce5c516fa1..28e0adc7ae4ffc0d57ddf383790d91e9cfa1bbac 100644 (file)
@@ -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)
index 1208ce31a6b03ec5f10711d82d67bea19e4c6a96..36416ef1710ea138cdb400b03a40fa809138d3b1 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1620,
 /**/
     1619,
 /**/