commit | 4140c4f3fff1a441f2837f2f911ab0f0368e412a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 05 23:16:00 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 05 23:16:00 2020 +0200 |
tree | c27ada449809a7ea337b069aa822947001e4d93b | |
parent | 7c27f337bf278babc1ccdcb66ac975f115d660b7 [diff] [blame] |
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 c1da58b..28e0adc 100644 --- a/src/search.c +++ b/src/search.c
@@ -4062,7 +4062,7 @@ 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)