diff options
author | ckelsel <ckelsel@hotmail.com> | 2017-07-28 08:38:08 +0800 |
---|---|---|
committer | ckelsel <ckelsel@hotmail.com> | 2017-07-28 08:38:08 +0800 |
commit | 3e0536eb295309c728acca386ec35756b7e034f6 (patch) | |
tree | f4ef3ef657245cf6d96a3d777ae63c6fda5b11d0 /src/nvim/quickfix.c | |
parent | 31c018244daa12caab3af357a368279a1f55d28c (diff) | |
parent | e6d54407ba8ce580fbd81cb9389eb9ce4483597b (diff) | |
download | rneovim-3e0536eb295309c728acca386ec35756b7e034f6.tar.gz rneovim-3e0536eb295309c728acca386ec35756b7e034f6.tar.bz2 rneovim-3e0536eb295309c728acca386ec35756b7e034f6.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index f17075f0c4..4997209556 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -1878,7 +1878,7 @@ win_found: * If there is only one window and it is the quickfix window, create a * new one above the quickfix window. */ - if (((firstwin == lastwin) && bt_quickfix(curbuf)) || !usable_win) { + if ((ONE_WINDOW && bt_quickfix(curbuf)) || !usable_win) { flags = WSP_ABOVE; if (ll_ref != NULL) flags |= WSP_NEWLOC; |