changeset 22141:a2d8535d035a v8.2.1620

patch 8.2.1620: searchcount() test fails Commit: https://github.com/vim/vim/commit/4140c4f3fff1a441f2837f2f911ab0f0368e412a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 5 23:16:00 2020 +0200 patch 8.2.1620: searchcount() test fails Problem: searchcount() test fails. Solution: Restore default flag value.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Sep 2020 23:30:03 +0200
parents 9f0e6dabb1b0
children 572e3d7849e5
files src/search.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -4062,7 +4062,7 @@ f_searchcount(typval_T *argvars, typval_
     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)
--- 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,