diff options
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 47da663b5f..ad3222a330 100644 --- a/src/window.c +++ b/src/window.c @@ -1924,7 +1924,11 @@ win_close(win, free_buf) curbuf = curwin->w_buffer; close_curwin = TRUE; } - if (p_ea) + if (p_ea +#ifdef FEAT_VERTSPLIT + && (*p_ead == 'b' || *p_ead == dir) +#endif + ) win_equal(curwin, TRUE, #ifdef FEAT_VERTSPLIT dir |