summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-15 19:37:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-15 19:37:15 +0200
commit26910de8b0da6abab87bd5a397330f9cbe483309 (patch)
tree5a76a713818d0973f6774edabc17b8c13fb924fb /src/ex_cmds.c
parent0331faf71200a274377e1569fcda4f00c9cf3e2a (diff)
patch 8.1.1547: functionality of bt_nofile() is confusingv8.1.1547
Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename().
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index d7a4187b86..d1068c7cff 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3399,7 +3399,7 @@ check_overwrite(
|| (buf->b_flags & BF_READERR))
&& !p_wa
#ifdef FEAT_QUICKFIX
- && !bt_nofile(buf)
+ && !bt_nofilename(buf)
#endif
&& vim_fexists(ffname))
{