Blame SOURCES/7.4.185

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.185
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.185
22c937
Problem:    Clang gives warnings.
22c937
Solution:   Adjust how bigness is set. (Dominique Pelle)
22c937
Files:      src/ex_cmds.c
22c937
22c937
22c937
*** ../vim-7.4.184/src/ex_cmds.c	2014-02-11 12:15:39.781950970 +0100
22c937
--- src/ex_cmds.c	2014-02-22 22:25:45.800904843 +0100
22c937
***************
22c937
*** 4099,4110 ****
22c937
       * 'scroll' */
22c937
      if (eap->forceit)
22c937
  	bigness = curwin->w_height;
22c937
-     else if (firstwin == lastwin)
22c937
- 	bigness = curwin->w_p_scr * 2;
22c937
  #ifdef FEAT_WINDOWS
22c937
!     else
22c937
  	bigness = curwin->w_height - 3;
22c937
  #endif
22c937
      if (bigness < 1)
22c937
  	bigness = 1;
22c937
  
22c937
--- 4099,4110 ----
22c937
       * 'scroll' */
22c937
      if (eap->forceit)
22c937
  	bigness = curwin->w_height;
22c937
  #ifdef FEAT_WINDOWS
22c937
!     else if (firstwin != lastwin)
22c937
  	bigness = curwin->w_height - 3;
22c937
  #endif
22c937
+     else
22c937
+ 	bigness = curwin->w_p_scr * 2;
22c937
      if (bigness < 1)
22c937
  	bigness = 1;
22c937
  
22c937
*** ../vim-7.4.184/src/version.c	2014-02-22 22:18:39.536905522 +0100
22c937
--- src/version.c	2014-02-22 22:22:51.912905120 +0100
22c937
***************
22c937
*** 740,741 ****
22c937
--- 740,743 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     185,
22c937
  /**/
22c937
22c937
-- 
22c937
There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU,
22c937
Linux, etc, and those who know COBOL.  It gets very difficult for me at
22c937
parties, not knowing which group to socialise with :-)
22c937
						Sitaram Chamarty
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///