diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-06-07 21:28:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 21:28:53 +0200 |
commit | f6f9e4a231708ca45e6dc08def78d9ff12339976 (patch) | |
tree | 87f7c240bb7e888241dfe4a46117c582da51e2be /src/nvim/ex_docmd.c | |
parent | d583b7c2fac99447eb6dfe47b458747f59275aa5 (diff) | |
parent | 2a4e8a427e5e84f8e8a9477c0bfb8c1d376b3f1e (diff) | |
download | rneovim-f6f9e4a231708ca45e6dc08def78d9ff12339976.tar.gz rneovim-f6f9e4a231708ca45e6dc08def78d9ff12339976.tar.bz2 rneovim-f6f9e4a231708ca45e6dc08def78d9ff12339976.zip |
Merge #10114 from erw7/vim-8.1.1270
vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 7a7b20c35f..f4082fc833 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -3758,12 +3758,12 @@ static linenr_T get_address(exarg_T *eap, // Start the search just like for the above do_search(). pos.col = (*cmd != '?') ? MAXCOL : 0; pos.coladd = 0; - if (searchit(curwin, curbuf, &pos, + if (searchit(curwin, curbuf, &pos, NULL, *cmd == '?' ? BACKWARD : FORWARD, (char_u *)"", 1L, SEARCH_MSG, - i, (linenr_T)0, NULL, NULL) != FAIL) + i, (linenr_T)0, NULL, NULL) != FAIL) { lnum = pos.lnum; - else { + } else { cmd = NULL; goto error; } |