diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 13:18:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 13:18:05 -0400 |
commit | becbb7436f7f027f0ff1fcf440334c0b3a9a8e1a (patch) | |
tree | 3bfbda933913e5a4636241439d4f350956126431 /src/nvim/ex_session.c | |
parent | bfcec8d2f03cb4eb7dc905e97b1f1c13c2ec2241 (diff) | |
parent | 77b24c867bf55c84bf7c7b13c33bd7ee33880ac8 (diff) | |
download | rneovim-becbb7436f7f027f0ff1fcf440334c0b3a9a8e1a.tar.gz rneovim-becbb7436f7f027f0ff1fcf440334c0b3a9a8e1a.tar.bz2 rneovim-becbb7436f7f027f0ff1fcf440334c0b3a9a8e1a.zip |
Merge pull request #14724 from janlazo/vim-8.2.2877
vim-patch:8.0.1578,8.2.{2877,2937}
Diffstat (limited to 'src/nvim/ex_session.c')
-rw-r--r-- | src/nvim/ex_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_session.c b/src/nvim/ex_session.c index 481febd16b..67b8e7e92f 100644 --- a/src/nvim/ex_session.c +++ b/src/nvim/ex_session.c @@ -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"); |