updated for version 7.3.725 v7.3.725
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Nov 2012 16:55:10 +0000 (17:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Nov 2012 16:55:10 +0000 (17:55 +0100)
Problem:    :aboveleft and :belowright have no effect on :copen.
Solution:   Check for cmdmod.split. (Christian Brabandt)

src/quickfix.c
src/version.c

index fec27fa8b49c4eb95057cf5fd0fdc2a5b1109c1a..85da690fb3c2d2eb3313bc7e56d0c6995eed1e53 100644 (file)
@@ -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 */
index 8de4ac83c73a71baf4de100455e2bd4dc567b0b6..f8369554440973bf60afd0ea9207ba54fb57853d 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    725,
 /**/
     724,
 /**/