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:
@@ -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;
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user