fixup! fixup! vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and 'splitright' (#14398)

This commit is contained in:
Jan Edmund Lazo
2021-06-04 22:39:33 -04:00
parent b959de3a5f
commit 304c6ce934

View File

@@ -835,7 +835,7 @@ static int makeopens(FILE *fd, char_u *dirnow)
p_shm) < 0) { p_shm) < 0) {
return FAIL; return FAIL;
} }
if (tab_firstwin->w_next != NULL) { if (tab_firstwin != NULL && tab_firstwin->w_next != NULL) {
// Restore 'winminheight' and 'winminwidth'. // Restore 'winminheight' and 'winminwidth'.
PUTLINE_FAIL("let &winminheight = s:save_winminheight"); PUTLINE_FAIL("let &winminheight = s:save_winminheight");
PUTLINE_FAIL("let &winminwidth = s:save_winminwidth"); PUTLINE_FAIL("let &winminwidth = s:save_winminwidth");