commit | 69a7cb473ceae109b61fae9aa04ee0c29afba5d9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jun 20 12:51:53 2004 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jun 20 12:51:53 2004 +0000 |
tree | 04bd3292cc6c2317842d7a46ae3ab11e9956ed99 | |
parent | ed20346f0b81d1d89c22c9616abe8e47b4c17f08 [diff] [blame] |
updated for version 7.0002
diff --git a/src/fileio.c b/src/fileio.c index e8d4e27..a0947aa 100644 --- a/src/fileio.c +++ b/src/fileio.c
@@ -5290,8 +5290,11 @@ } if (p == NULL || buf->b_fname == NULL) buf->b_fname = buf->b_ffname; - mf_fullname(buf->b_ml.ml_mfp); } + + /* Always make the swap file name a full path, a "nofile" buffer may + * also have a swap file. */ + mf_fullname(buf->b_ml.ml_mfp); } #ifdef FEAT_WINDOWS status_redraw_all();