# HG changeset patch # User Bram Moolenaar # Date 1393104467 -3600 # Node ID b06e58f8dd3037f7f17145968d08432423ac8665 # Parent 093067af7c6c447cf462d39e36b9113d73849ac5 updated for version 7.4.185 Problem: Clang gives warnings. Solution: Adjust how bigness is set. (Dominique Pelle) diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4099,12 +4099,12 @@ ex_z(eap) * 'scroll' */ if (eap->forceit) bigness = curwin->w_height; - else if (firstwin == lastwin) +#ifdef FEAT_WINDOWS + else if (firstwin != lastwin) + bigness = curwin->w_height - 3; +#endif + else bigness = curwin->w_p_scr * 2; -#ifdef FEAT_WINDOWS - else - bigness = curwin->w_height - 3; -#endif if (bigness < 1) bigness = 1; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 185, +/**/ 184, /**/ 183,