home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.221 < prev    next >
Encoding:
Internet Message Format  |  2014-03-26  |  1.7 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.221
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.221
  11. Problem:    Quickfix doesn't resize on ":copen 20". (issue 199)
  12. Solution:   Resize the window when requested. (Christian Brabandt)
  13. Files:        src/quickfix.c
  14.  
  15.  
  16. *** ../vim-7.4.220/src/quickfix.c    2014-03-23 15:12:29.931264336 +0100
  17. --- src/quickfix.c    2014-03-27 16:56:25.316655478 +0100
  18. ***************
  19. *** 2358,2364 ****
  20. --- 2358,2379 ----
  21.       win = qf_find_win(qi);
  22.   
  23.       if (win != NULL && cmdmod.tab == 0)
  24. +     {
  25.       win_goto(win);
  26. +     if (eap->addr_count != 0)
  27. +     {
  28. + #ifdef FEAT_VERTSPLIT
  29. +         if (cmdmod.split & WSP_VERT)
  30. +         {
  31. +         if (height != W_WIDTH(win))
  32. +             win_setwidth(height);
  33. +         }
  34. +         else
  35. + #endif
  36. +         if (height != win->w_height)
  37. +         win_setheight(height);
  38. +     }
  39. +     }
  40.       else
  41.       {
  42.       qf_buf = qf_find_buf(qi);
  43. *** ../vim-7.4.220/src/version.c    2014-03-27 12:40:26.188420131 +0100
  44. --- src/version.c    2014-03-27 16:54:38.864653847 +0100
  45. ***************
  46. *** 736,737 ****
  47. --- 736,739 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     221,
  51.   /**/
  52.  
  53. -- 
  54. The fastest way to get an engineer to solve a problem is to declare that the
  55. problem is unsolvable.  No engineer can walk away from an unsolvable problem
  56. until it's solved.
  57.                 (Scott Adams - The Dilbert principle)
  58.  
  59.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  60. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  61. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  62.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  63.