aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-08-01 05:27:20 -0400
committerGitHub <noreply@github.com>2016-08-01 05:27:20 -0400
commitba705042ff1069a6ab0cf0218607d41f444e05cd (patch)
treeb9042f87f87409009cc4d37112db7bbd45380e17 /src/nvim/buffer.c
parentd1d9ac5a3c721901a461f47ed83c7ad549007722 (diff)
parent02346f9bc7ab432931b059d075f16bfb09f93c1f (diff)
downloadrneovim-ba705042ff1069a6ab0cf0218607d41f444e05cd.tar.gz
rneovim-ba705042ff1069a6ab0cf0218607d41f444e05cd.tar.bz2
rneovim-ba705042ff1069a6ab0cf0218607d41f444e05cd.zip
Merge #4837 from justinmk/os_resolve_shortcut
os_resolve_shortcut
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c4
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;