summaryrefslogtreecommitdiffstats
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2a2dcb0cac..619302aa22 100644
--- a/src/main.c
+++ b/src/main.c
@@ -375,7 +375,6 @@ main
* Set the default values for the options that use Rows and Columns.
*/
ui_get_shellsize(); // inits Rows and Columns
- win_init_size();
#ifdef FEAT_DIFF
// Set the 'diff' option now, so that it can be checked for in a .vimrc
// file. There is no buffer yet though.
@@ -542,6 +541,7 @@ vim_main2(void)
mch_exit(1);
}
#endif
+ win_init_size();
#ifdef FEAT_VIMINFO
/*