Patch 7.4.221
Problem:    Quickfix doesn't resize on ":copen 20". (issue 199)
Solution:   Resize the window when requested. (Christian Brabandt)
Files:      src/quickfix.c


*** ../vim-7.4.220/src/quickfix.c       2014-03-23 15:12:29.931264336 +0100
--- src/quickfix.c      2014-03-27 16:56:25.316655478 +0100
***************
*** 2358,2364 ****
--- 2358,2379 ----
      win = qf_find_win(qi);
  
      if (win != NULL && cmdmod.tab == 0)
+     {
        win_goto(win);
+       if (eap->addr_count != 0)
+       {
+ #ifdef FEAT_VERTSPLIT
+           if (cmdmod.split & WSP_VERT)
+           {
+               if (height != W_WIDTH(win))
+                   win_setwidth(height);
+           }
+           else
+ #endif
+           if (height != win->w_height)
+               win_setheight(height);
+       }
+     }
      else
      {
        qf_buf = qf_find_buf(qi);
*** ../vim-7.4.220/src/version.c        2014-03-27 12:40:26.188420131 +0100
--- src/version.c       2014-03-27 16:54:38.864653847 +0100
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     221,
  /**/

-- 
The fastest way to get an engineer to solve a problem is to declare that the
problem is unsolvable.  No engineer can walk away from an unsolvable problem
until it's solved.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui