To: vim-dev@vim.org Subject: Patch 6.1.213 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.213 Problem: Using CTRL-W H may cause a big gap to appear below the last window. (Aric Blumer) Solution: Don't set the window height when there is a vertical split. (Yasuhiro Matsumoto) Files: src/window.c *** ../vim61.212/src/window.c Mon Sep 23 21:32:08 2002 --- src/window.c Tue Oct 8 19:59:58 2002 *************** *** 1419,1425 **** /* Split a window on the right side and put the window there. */ (void)win_split_ins(size, flags, curwin, dir); ! win_setheight(height); #if defined(FEAT_GUI) && defined(FEAT_VERTSPLIT) /* When 'guioptions' includes 'L' or 'R' may have to remove or add --- 1419,1426 ---- /* 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 *** ../vim61.212/src/version.c Mon Oct 7 21:35:49 2002 --- src/version.c Tue Oct 8 20:04:43 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 213, /**/ -- hundred-and-one symptoms of being an internet addict: 160. You get in the elevator and double-click the button for the floor you want. /// Bram Moolenaar -- Bram@moolenaar.net -- 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 /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///