Merge #10114 from erw7/vim-8.1.1270

vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
This commit is contained in:
Justin M. Keyes
2019-06-07 21:28:53 +02:00
committed by GitHub
14 changed files with 518 additions and 116 deletions

View File

@@ -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;
}