diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-18 20:53:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-18 20:53:34 +0200 |
commit | 92ea26b925a0835badb0af2d5887238a4198cabb (patch) | |
tree | 0ed45513ea242aa5c252f84cc00cf59b155b38e3 /src/gui.c | |
parent | 7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d (diff) | |
download | vim-git-92ea26b925a0835badb0af2d5887238a4198cabb.tar.gz |
patch 8.1.2173: searchit() has too many argumentsv8.1.2173
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5383,7 +5383,7 @@ gui_do_findrepl( i = msg_scroll; if (down) { - (void)do_search(NULL, '/', ga.ga_data, 1L, searchflags, NULL, NULL); + (void)do_search(NULL, '/', ga.ga_data, 1L, searchflags, NULL); } else { @@ -5391,7 +5391,7 @@ gui_do_findrepl( * direction */ p = vim_strsave_escaped(ga.ga_data, (char_u *)"?"); if (p != NULL) - (void)do_search(NULL, '?', p, 1L, searchflags, NULL, NULL); + (void)do_search(NULL, '?', p, 1L, searchflags, NULL); vim_free(p); } |