diff options
Diffstat (limited to 'src/file_search.c')
-rw-r--r-- | src/file_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_search.c b/src/file_search.c index 57ff7ad3f4..1bcb9fa519 100644 --- a/src/file_search.c +++ b/src/file_search.c @@ -869,7 +869,7 @@ char_u *vim_findfile(void *search_ctx_arg) simplify_filename(file_path); if (os_dirname(ff_expand_buffer, MAXPATHL) == OK) { - p = shorten_fname(file_path, + p = path_shorten_fname(file_path, ff_expand_buffer); if (p != NULL) STRMOVE(file_path, p); |