diff options
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c index 0ee57fc4a..4e9e47357 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -5543,7 +5543,7 @@ find_file_in_path_option(ptr, len, options, first, path_option, /* copy file name into NameBuff, expanding environment variables */ save_char = ptr[len]; ptr[len] = NUL; - expand_env(ptr, NameBuff, MAXPATHL); + expand_env_esc(ptr, NameBuff, MAXPATHL, FALSE, TRUE, NULL); ptr[len] = save_char; vim_free(ff_file_to_find); |