0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-236

This commit is contained in:
Bram Moolenaar
2008-01-19 14:59:58 +00:00
parent 4bad6c8d3d
commit 91a4e82243
21 changed files with 154 additions and 44 deletions

View File

@@ -1803,7 +1803,8 @@ qf_jump(qi, dir, errornr, forceit)
/* 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_ptr->qf_pattern, (long)1, SEARCH_KEEP))
if (!do_search(NULL, '/', qf_ptr->qf_pattern, (long)1,
SEARCH_KEEP, NULL))
curwin->w_cursor = save_cursor;
}
@@ -3159,7 +3160,7 @@ ex_vimgrep(eap)
{
col = 0;
while (vim_regexec_multi(&regmatch, curwin, buf, lnum,
col) > 0)
col, NULL) > 0)
{
;
if (qf_add_entry(qi, &prevp,