commit | 459ca563128f2edb7e3bb190090bbb755a56dd55 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Nov 10 18:16:33 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Nov 10 18:16:33 2016 +0100 |
tree | 655c20d3f6b48349cb54d54c2812cfdbac3175fc | |
parent | 38bc49563782ee1cb91660e58acf1afe1a31020a [diff] [blame] |
patch 8.0.0073 Problem: More comparisons between firstwin and lastwin. Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index cb58f24..206ead1 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -4577,7 +4577,7 @@ 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