From 77642c0fef0622ec9d7bedf6a68d46e129c09f06 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 20 Nov 2012 17:55:10 +0100 Subject: [PATCH] updated for version 7.3.725 Problem: :aboveleft and :belowright have no effect on :copen. Solution: Check for cmdmod.split. (Christian Brabandt) --- src/quickfix.c | 6 ++++-- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/quickfix.c b/src/quickfix.c index fec27fa8b..85da690fb 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2347,8 +2347,10 @@ ex_copen(eap) /* The current window becomes the previous window afterwards. */ win = curwin; - if (eap->cmdidx == CMD_copen || eap->cmdidx == CMD_cwindow) - /* Create the new window at the very bottom. */ + if ((eap->cmdidx == CMD_copen || eap->cmdidx == CMD_cwindow) + && cmdmod.split == 0) + /* Create the new window at the very bottom, except when + * :belowright or :aboveleft is used. */ win_goto(lastwin); if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL) return; /* not enough room for window */ diff --git a/src/version.c b/src/version.c index 8de4ac83c..f83695544 100644 --- a/src/version.c +++ b/src/version.c @@ -725,6 +725,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 725, /**/ 724, /**/