To: vim-dev@vim.org Subject: Patch 6.1.380 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.380 Problem: When 'winminheight' is zero and the quickfix window is zero lines, entering the window doesn't make it highter. (Christian J. Robinson) Solution: Make sure the current window is at least one line high. Files: src/window.c *** ../vim61.379/src/window.c Sat Mar 8 20:33:33 2003 --- src/window.c Sat Mar 8 16:09:47 2003 *************** *** 2952,2957 **** --- 2952,2959 ---- /* set window height to desired minimal value */ if (curwin->w_height < p_wh && !curwin->w_p_wfh) win_setheight((int)p_wh); + else if (curwin->w_height == 0) + win_setheight(1); #ifdef FEAT_VERTSPLIT /* set window width to desired minimal value */ *** ../vim61.379/src/version.c Sun Mar 9 15:23:05 2003 --- src/version.c Sun Mar 9 15:44:32 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 380, /**/ -- A)bort, R)etry, D)o it right this time /// 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 /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///