0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0-162

This commit is contained in:
Bram Moolenaar
2006-11-07 21:59:47 +00:00
parent 908d53a230
commit 84212825ed
3 changed files with 68 additions and 14 deletions

View File

@@ -4220,7 +4220,7 @@ alist_name(aep)
/* 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;
}