summaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2022-09-13 11:55:10 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-13 11:55:10 +0100
commit5ed391708a62b4ebaa84dd23e32a416e5c3383d9 (patch)
tree5ce6783463667a55db3ca42833b14293d5916def /src/menu.c
parent810cb5a3bf73ff4b084f483aa87cd49c1111bfa9 (diff)
patch 9.0.0455: a few problems with 'splitscroll'v9.0.0455
Problem: A few problems with 'splitscroll'. Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117)
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c
index 6a93316ab4..432fbe9727 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -436,6 +436,7 @@ ex_menu(
--curwin->w_height;
curwin->w_winbar_height = h;
}
+ curwin->w_prev_height = curwin->w_height;
}
theend: