mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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' */
|
||||
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;
|
||||
|
||||
|
Reference in New Issue
Block a user