diff options
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r-- | src/popupmnu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c index 09faa69e8..5fbb3bbd2 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -727,7 +727,7 @@ pum_set_selected(int n, int repeat) if (!resized && curbuf->b_nwindows == 1 && curbuf->b_fname == NULL - && curbuf->b_p_bt[0] == 'n' && curbuf->b_p_bt[2] == 'f' + && bt_nofile(curbuf) && curbuf->b_p_bh[0] == 'w') { /* Already a "wipeout" buffer, make it empty. */ |