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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user