Patch 7.4.185
Problem:    Clang gives warnings.
Solution:   Adjust how bigness is set. (Dominique Pelle)
Files:      src/ex_cmds.c


*** ../vim-7.4.184/src/ex_cmds.c        2014-02-11 12:15:39.781950970 +0100
--- src/ex_cmds.c       2014-02-22 22:25:45.800904843 +0100
***************
*** 4099,4110 ****
       * 'scroll' */
      if (eap->forceit)
        bigness = curwin->w_height;
-     else if (firstwin == lastwin)
-       bigness = curwin->w_p_scr * 2;
  #ifdef FEAT_WINDOWS
!     else
        bigness = curwin->w_height - 3;
  #endif
      if (bigness < 1)
        bigness = 1;
  
--- 4099,4110 ----
       * 'scroll' */
      if (eap->forceit)
        bigness = curwin->w_height;
  #ifdef FEAT_WINDOWS
!     else if (firstwin != lastwin)
        bigness = curwin->w_height - 3;
  #endif
+     else
+       bigness = curwin->w_p_scr * 2;
      if (bigness < 1)
        bigness = 1;
  
*** ../vim-7.4.184/src/version.c        2014-02-22 22:18:39.536905522 +0100
--- src/version.c       2014-02-22 22:22:51.912905120 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     185,
  /**/

-- 
There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU,
Linux, etc, and those who know COBOL.  It gets very difficult for me at
parties, not knowing which group to socialise with :-)
                                                Sitaram Chamarty

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui