To: [email protected]
Subject: Patch 6.2f.039
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 6.2f.039
Problem:    CTRL-W K makes the new top window very high.
Solution:   When 'equalalways' is set equalize the window heights.
Files:      src/window.c


*** ../vim-6.2f.038/src/window.c        Mon May 26 22:15:06 2003
--- src/window.c        Sat May 31 21:08:43 2003
***************
*** 1421,1430 ****
     last_status(FALSE);           /* may need to remove last status line */
     (void)win_comp_pos();   /* recompute window positions */

!     /* Split a window on the right side and put the window there. */
     (void)win_split_ins(size, flags, curwin, dir);
     if (!(flags & WSP_VERT))
       win_setheight(height);

 #if defined(FEAT_GUI) && defined(FEAT_VERTSPLIT)
     /* When 'guioptions' includes 'L' or 'R' may have to remove or add
--- 1421,1434 ----
     last_status(FALSE);           /* may need to remove last status line */
     (void)win_comp_pos();   /* recompute window positions */

!     /* Split a window on the desired side and put the window there. */
     (void)win_split_ins(size, flags, curwin, dir);
     if (!(flags & WSP_VERT))
+     {
       win_setheight(height);
+       if (p_ea)
+           win_equal(curwin, TRUE, 'v');
+     }

 #if defined(FEAT_GUI) && defined(FEAT_VERTSPLIT)
     /* When 'guioptions' includes 'L' or 'R' may have to remove or add
*** ../vim-6.2f.038/src/version.c       Sat May 31 20:54:46 2003
--- src/version.c       Sat May 31 21:10:41 2003
***************
*** 632,633 ****
--- 632,635 ----
 {   /* Add new patch number below this line */
+ /**/
+     39,
 /**/

--
You have the right to remain silent. Anything you say will be
misquoted, then used against you.

/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
\\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///