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/quickfix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/quickfix.c') diff --git a/src/quickfix.c b/src/quickfix.c index 36456ed4f..067dbffd0 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -3207,8 +3207,7 @@ qf_jump_goto_line( // Move the cursor to the first line in the buffer save_cursor = curwin->w_cursor; curwin->w_cursor.lnum = 0; - if (!do_search(NULL, '/', qf_pattern, (long)1, - SEARCH_KEEP, NULL, NULL)) + if (!do_search(NULL, '/', qf_pattern, (long)1, SEARCH_KEEP, NULL)) curwin->w_cursor = save_cursor; } } -- cgit v1.2.1