aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-09-17 09:39:36 -0400
committerGitHub <noreply@github.com>2021-09-17 09:39:36 -0400
commit1ec3d37192194d6961621f17fc5a185356586339 (patch)
treef8d5b2a694bcccbce4aae1284abea9ec86eb7c90 /src/nvim/ex_cmds.c
parent5f144efefa66c9694123b679bab52992279a6015 (diff)
parentf46341fa43075443241fe641905656c74a9523ee (diff)
downloadrneovim-1ec3d37192194d6961621f17fc5a185356586339.tar.gz
rneovim-1ec3d37192194d6961621f17fc5a185356586339.tar.bz2
rneovim-1ec3d37192194d6961621f17fc5a185356586339.zip
Merge pull request #15580 from seandewar/vim-8.2.3378
vim-patch:8.2.{3378,3379,3384,3386,3398,3400}
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 5485355885..f8186c000e 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -3088,7 +3088,7 @@ void ex_z(exarg_T *eap)
// Vi compatible: ":z!" uses display height, without a count uses
// 'scroll'
if (eap->forceit) {
- bigness = curwin->w_height_inner;
+ bigness = Rows - 1;
} else if (ONE_WINDOW) {
bigness = curwin->w_p_scr * 2;
} else {