diff options
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 6802b8b3d..dcb5cfe04 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -7239,7 +7239,7 @@ ex_quit(exarg_T *eap) * :h|wincmd w|1q - don't quit * :h|wincmd w|q - quit */ - if (only_one_window() && (firstwin == lastwin || eap->addr_count == 0)) + if (only_one_window() && (ONE_WINDOW || eap->addr_count == 0)) #endif getout(0); #ifdef FEAT_WINDOWS |