diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-01-19 14:59:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-01-19 14:59:58 +0000 |
commit | 91a4e82243198d3c54b51296c532005daf5ccd3b (patch) | |
tree | c25223c268fa6be1229012ac34162233ef84e255 /src/quickfix.c | |
parent | 4bad6c8d3dfe81d6171f20f1c3f7fc76bc2d89a7 (diff) | |
download | vim-git-91a4e82243198d3c54b51296c532005daf5ccd3b.tar.gz |
updated for version 7.1-236v7.1.236
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 32c6cd08d..d2b24bb10 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -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(®match, curwin, buf, lnum, - col) > 0) + col, NULL) > 0) { ; if (qf_add_entry(qi, &prevp, |