]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.185 v7.4.185
authorBram Moolenaar <Bram@vim.org>
Sat, 22 Feb 2014 21:27:47 +0000 (22:27 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 22 Feb 2014 21:27:47 +0000 (22:27 +0100)
Problem:    Clang gives warnings.
Solution:   Adjust how bigness is set. (Dominique Pelle)

src/ex_cmds.c
src/version.c

index 70cdd349d8e706fe4abd04c66ef8652315a78cc4..465fb9e436cfda4c360e263664b3ff3b247c1d20 100644 (file)
@@ -4099,12 +4099,12 @@ ex_z(eap)
      * 'scroll' */
     if (eap->forceit)
        bigness = curwin->w_height;
-    else if (firstwin == lastwin)
-       bigness = curwin->w_p_scr * 2;
 #ifdef FEAT_WINDOWS
-    else
+    else if (firstwin != lastwin)
        bigness = curwin->w_height - 3;
 #endif
+    else
+       bigness = curwin->w_p_scr * 2;
     if (bigness < 1)
        bigness = 1;
 
index 40deff6da5ffeebee3438cdfa44afb4c47ff5e08..221df42388ad2fec4529a2c7e18f6e7687649d4b 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    185,
 /**/
     184,
 /**/