From 92ea26b925a0835badb0af2d5887238a4198cabb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 18 Oct 2019 20:53:34 +0200 Subject: patch 8.1.2173: searchit() has too many arguments Problem: Searchit() has too many arguments. Solution: Move optional arguments to a struct. Add the "wrapped" argument. --- src/insexpand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/insexpand.c') diff --git a/src/insexpand.c b/src/insexpand.c index 644542e94..31b952bf5 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -2881,7 +2881,7 @@ ins_compl_get_exp(pos_T *ini) found_new_match = searchit(NULL, ins_buf, pos, NULL, compl_direction, compl_pattern, 1L, SEARCH_KEEP + SEARCH_NFMSG, - RE_LAST, (linenr_T)0, NULL, NULL); + RE_LAST, NULL); --msg_silent; if (!compl_started || set_match_pos) { -- cgit v1.2.1