jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.185

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