073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.221
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.221
073263
Problem:    Quickfix doesn't resize on ":copen 20". (issue 199)
073263
Solution:   Resize the window when requested. (Christian Brabandt)
073263
Files:	    src/quickfix.c
073263
073263
073263
*** ../vim-7.4.220/src/quickfix.c	2014-03-23 15:12:29.931264336 +0100
073263
--- src/quickfix.c	2014-03-27 16:56:25.316655478 +0100
073263
***************
073263
*** 2358,2364 ****
073263
--- 2358,2379 ----
073263
      win = qf_find_win(qi);
073263
  
073263
      if (win != NULL && cmdmod.tab == 0)
073263
+     {
073263
  	win_goto(win);
073263
+ 	if (eap->addr_count != 0)
073263
+ 	{
073263
+ #ifdef FEAT_VERTSPLIT
073263
+ 	    if (cmdmod.split & WSP_VERT)
073263
+ 	    {
073263
+ 		if (height != W_WIDTH(win))
073263
+ 		    win_setwidth(height);
073263
+ 	    }
073263
+ 	    else
073263
+ #endif
073263
+ 	    if (height != win->w_height)
073263
+ 		win_setheight(height);
073263
+ 	}
073263
+     }
073263
      else
073263
      {
073263
  	qf_buf = qf_find_buf(qi);
073263
*** ../vim-7.4.220/src/version.c	2014-03-27 12:40:26.188420131 +0100
073263
--- src/version.c	2014-03-27 16:54:38.864653847 +0100
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     221,
073263
  /**/
073263
073263
-- 
073263
The fastest way to get an engineer to solve a problem is to declare that the
073263
problem is unsolvable.  No engineer can walk away from an unsolvable problem
073263
until it's solved.
073263
				(Scott Adams - The Dilbert principle)
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///