mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
fixup! fixup! vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and 'splitright' (#14398)
This commit is contained in:
@@ -835,7 +835,7 @@ static int makeopens(FILE *fd, char_u *dirnow)
|
||||
p_shm) < 0) {
|
||||
return FAIL;
|
||||
}
|
||||
if (tab_firstwin->w_next != NULL) {
|
||||
if (tab_firstwin != NULL && tab_firstwin->w_next != NULL) {
|
||||
// Restore 'winminheight' and 'winminwidth'.
|
||||
PUTLINE_FAIL("let &winminheight = s:save_winminheight");
|
||||
PUTLINE_FAIL("let &winminwidth = s:save_winminwidth");
|
||||
|
Reference in New Issue
Block a user