diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-10-07 21:02:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-10-07 21:02:47 +0000 |
commit | 3fdfa4a9a52ab3d1a790262ee872a49853ad4626 (patch) | |
tree | 76f57a06a5f3b9e0abc15446b38722658fde7e1e /src/quickfix.c | |
parent | e5f258eb4c4b87ea1d6f61c1a0a9deecbb5d9726 (diff) | |
download | vim-git-3fdfa4a9a52ab3d1a790262ee872a49853ad4626.tar.gz |
updated for version 7.0017v7.0017
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index b939275a3..0cb9c6956 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -1124,6 +1124,7 @@ qf_jump(dir, errornr, forceit) # endif if (win_split(0, n) == FAIL) goto theend; + opened_window = TRUE; /* close it when fail */ if (curwin->w_height < p_hh) win_setheight((int)p_hh); @@ -1137,7 +1138,7 @@ qf_jump(dir, errornr, forceit) * If currently in the quickfix window, find another window to show the * file in. */ - if (bt_quickfix(curbuf)) + if (bt_quickfix(curbuf) && !opened_window) { /* * If there is no file specified, we don't know where to go. |