aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-03-24 16:07:11 +0100
committerGitHub <noreply@github.com>2018-03-24 16:07:11 +0100
commit1b61167373420440535cb975804fd9e728025011 (patch)
treebdd88851fad1197bc0965647a8525e0fb86b1841 /src/nvim/fileio.c
parent84a25770ac4b1c18f0e6bd1e17bdda7eb3c6afa0 (diff)
parent0ecf7e3a2d3bf4c8062ebf1d462a16d716a37352 (diff)
downloadrneovim-1b61167373420440535cb975804fd9e728025011.tar.gz
rneovim-1b61167373420440535cb975804fd9e728025011.tar.bz2
rneovim-1b61167373420440535cb975804fd9e728025011.zip
Merge #8168 'refactor: rename some functions'
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index ea214dd38a..52686f6651 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -4318,7 +4318,7 @@ void shorten_fnames(int force)
&& !path_with_url((char *)buf->b_fname)
&& (force
|| buf->b_sfname == NULL
- || path_is_absolute_path(buf->b_sfname))) {
+ || path_is_absolute(buf->b_sfname))) {
xfree(buf->b_sfname);
buf->b_sfname = NULL;
p = path_shorten_fname(buf->b_ffname, dirname);