jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.221

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