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