aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-05-22 11:59:04 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-05-22 11:59:04 +0200
commit66d127957ed3cc27af0344c742bc5acedd347894 (patch)
tree61d79fbbd2b8d7aa35033810bc5948e5a695740f /src/nvim/buffer.c
parent55fa966a929ddf62fa06df63cbdfed63fbc499eb (diff)
parent7905f5df99c2d13a8e3530aae6d9883b38b398a3 (diff)
downloadrneovim-66d127957ed3cc27af0344c742bc5acedd347894.tar.gz
rneovim-66d127957ed3cc27af0344c742bc5acedd347894.tar.bz2
rneovim-66d127957ed3cc27af0344c742bc5acedd347894.zip
Merge #10049 'vim-patch:8.1.0293'
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index cdb226b94d..d944c654b0 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -4488,7 +4488,7 @@ void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname)
if (*sfname == NULL) { // if no short file name given, use ffname
*sfname = *ffname;
}
- *ffname = (char_u *)fix_fname((char *)*ffname); // expand to full path
+ *ffname = (char_u *)fix_fname((char *)(*ffname)); // expand to full path
#ifdef WIN32
if (!buf->b_p_bin) {