diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-05-29 03:40:35 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-07-30 15:28:12 -0400 |
commit | 771d42e426c8c634e6907d501502760dc745b6aa (patch) | |
tree | a4750e93d52fc39d0ee3ab82ba9cb818d990407e /src/nvim/buffer.c | |
parent | aa2c43994039b4d78ae628f96b80bf1a60b4da6b (diff) | |
download | rneovim-771d42e426c8c634e6907d501502760dc745b6aa.tar.gz rneovim-771d42e426c8c634e6907d501502760dc745b6aa.tar.bz2 rneovim-771d42e426c8c634e6907d501502760dc745b6aa.zip |
os_resolve_shortcut: initial port from Vim source
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 438a85dd5d..c934d44e70 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -4030,8 +4030,8 @@ void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname) if (!buf->b_p_bin) { char_u *rfname; - /* If the file name is a shortcut file, use the file it links to. */ - rfname = mch_resolve_shortcut(*ffname); + // If the file name is a shortcut file, use the file it links to. + rfname = os_resolve_shortcut(*ffname); if (rfname != NULL) { xfree(*ffname); *ffname = rfname; |