refactor/rename: path_is_absolute()

This commit is contained in:
Justin M. Keyes
2018-03-24 11:21:20 +01:00
parent 84a25770ac
commit 998a16c926
11 changed files with 54 additions and 58 deletions

View File

@@ -8547,7 +8547,7 @@ eval_vars (
break;
case SPEC_AFILE: // file name for autocommand
if (autocmd_fname != NULL && !path_is_absolute_path(autocmd_fname)) {
if (autocmd_fname != NULL && !path_is_absolute(autocmd_fname)) {
// Still need to turn the fname into a full path. It was
// postponed to avoid a delay when <afile> is not used.
result = (char_u *)FullName_save((char *)autocmd_fname, false);