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

patch 8.0.0073

Problem:    More comparisons between firstwin and lastwin.
Solution:   Use ONE_WINDOW for consistency. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-11-10 18:16:33 +01:00
parent 38bc495637
commit 459ca56312
6 changed files with 16 additions and 14 deletions

View File

@@ -4577,7 +4577,7 @@ ex_z(exarg_T *eap)
if (eap->forceit)
bigness = curwin->w_height;
#ifdef FEAT_WINDOWS
else if (firstwin != lastwin)
else if (!ONE_WINDOW)
bigness = curwin->w_height - 3;
#endif
else