diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-21 06:23:56 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-21 06:23:56 +0000 |
commit | e8e01073071369d33ab4cf61be05bebe5a65566e (patch) | |
tree | 2c29b23bfb933e0fa40619f7d1fae430ff2c247e /usr.bin/vim/quickfix.c | |
parent | 584e4bbf452da2934dbaf4b9dc09bd131a1d4cd7 (diff) |
update to vim 4.4beta
Diffstat (limited to 'usr.bin/vim/quickfix.c')
-rw-r--r-- | usr.bin/vim/quickfix.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/vim/quickfix.c b/usr.bin/vim/quickfix.c index 859f3f9c2bf..fffbfff932d 100644 --- a/usr.bin/vim/quickfix.c +++ b/usr.bin/vim/quickfix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quickfix.c,v 1.1 1996/09/07 21:40:25 downsj Exp $ */ +/* $OpenBSD: quickfix.c,v 1.2 1996/09/21 06:23:16 downsj Exp $ */ /* vi:set ts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar @@ -374,9 +374,10 @@ qf_init_end: * else go to entry "errornr" */ void -qf_jump(dir, errornr) +qf_jump(dir, errornr, forceit) int dir; int errornr; + int forceit; { struct qf_line *old_qf_ptr; int old_qf_index; @@ -463,7 +464,7 @@ qf_jump(dir, errornr) * read the wanted file if needed, and check autowrite etc. */ if (qf_ptr->qf_fnum == 0 || buflist_getfile(qf_ptr->qf_fnum, - (linenr_t)1, GETF_SETMARK) == OK) + (linenr_t)1, GETF_SETMARK, forceit) == OK) { /* * Go to line with error, unless qf_lnum is 0. |