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.185 < prev    next >
Encoding:
Internet Message Format  |  2014-02-21  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.185
  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.185
  11. Problem:    Clang gives warnings.
  12. Solution:   Adjust how bigness is set. (Dominique Pelle)
  13. Files:      src/ex_cmds.c
  14.  
  15.  
  16. *** ../vim-7.4.184/src/ex_cmds.c    2014-02-11 12:15:39.781950970 +0100
  17. --- src/ex_cmds.c    2014-02-22 22:25:45.800904843 +0100
  18. ***************
  19. *** 4099,4110 ****
  20.        * 'scroll' */
  21.       if (eap->forceit)
  22.       bigness = curwin->w_height;
  23. -     else if (firstwin == lastwin)
  24. -     bigness = curwin->w_p_scr * 2;
  25.   #ifdef FEAT_WINDOWS
  26. !     else
  27.       bigness = curwin->w_height - 3;
  28.   #endif
  29.       if (bigness < 1)
  30.       bigness = 1;
  31.   
  32. --- 4099,4110 ----
  33.        * 'scroll' */
  34.       if (eap->forceit)
  35.       bigness = curwin->w_height;
  36.   #ifdef FEAT_WINDOWS
  37. !     else if (firstwin != lastwin)
  38.       bigness = curwin->w_height - 3;
  39.   #endif
  40. +     else
  41. +     bigness = curwin->w_p_scr * 2;
  42.       if (bigness < 1)
  43.       bigness = 1;
  44.   
  45. *** ../vim-7.4.184/src/version.c    2014-02-22 22:18:39.536905522 +0100
  46. --- src/version.c    2014-02-22 22:22:51.912905120 +0100
  47. ***************
  48. *** 740,741 ****
  49. --- 740,743 ----
  50.   {   /* Add new patch number below this line */
  51. + /**/
  52. +     185,
  53.   /**/
  54.  
  55. -- 
  56. There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU,
  57. Linux, etc, and those who know COBOL.  It gets very difficult for me at
  58. parties, not knowing which group to socialise with :-)
  59.                         Sitaram Chamarty
  60.  
  61.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  62. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  63. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  64.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  65.