0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.185

Problem:    Clang gives warnings.
Solution:   Adjust how bigness is set. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2014-02-22 22:27:47 +01:00
parent 9feaf6206f
commit 631abc35df
2 changed files with 5 additions and 3 deletions

View File

@@ -4099,12 +4099,12 @@ ex_z(eap)
* 'scroll' */ * 'scroll' */
if (eap->forceit) if (eap->forceit)
bigness = curwin->w_height; bigness = curwin->w_height;
else if (firstwin == lastwin)
bigness = curwin->w_p_scr * 2;
#ifdef FEAT_WINDOWS #ifdef FEAT_WINDOWS
else else if (firstwin != lastwin)
bigness = curwin->w_height - 3; bigness = curwin->w_height - 3;
#endif #endif
else
bigness = curwin->w_p_scr * 2;
if (bigness < 1) if (bigness < 1)
bigness = 1; bigness = 1;

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
185,
/**/ /**/
184, 184,
/**/ /**/