commit | 84212825ed74d16483061f35f0e2e6a05fd33a6e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Nov 07 21:59:47 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Nov 07 21:59:47 2006 +0000 |
tree | 13a4d5a30dc51827231719bf82aa99735122c97a | |
parent | 908d53a230bd599dc541cf75cfbd33590aba1fb0 [diff] [blame] |
updated for version 7.0-162
diff --git a/src/buffer.c b/src/buffer.c index c9a91ce..4049f71 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -4220,7 +4220,7 @@ /* Use the name from the associated buffer if it exists. */ bp = buflist_findnr(aep->ae_fnum); - if (bp == NULL) + if (bp == NULL || bp->b_fname == NULL) return aep->ae_fname; return bp->b_fname; }