Mercurial > vim
diff src/gui.c @ 18358:34d5cd432cac v8.1.2173
patch 8.1.2173: searchit() has too many arguments
Commit: https://github.com/vim/vim/commit/92ea26b925a0835badb0af2d5887238a4198cabb
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 18 20:53:34 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Oct 2019 21:00:04 +0200 |
parents | 5ae41d0ea397 |
children | 6067fbb46625 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -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); }