diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-24 11:21:20 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-03-24 14:17:40 +0100 |
commit | 998a16c926623a667ecb0228f4a6cd8ba1e90201 (patch) | |
tree | 00abaed092dd47e6e312a00f549ab62a4ded3a43 /src/nvim/fileio.c | |
parent | 84a25770ac4b1c18f0e6bd1e17bdda7eb3c6afa0 (diff) | |
download | rneovim-998a16c926623a667ecb0228f4a6cd8ba1e90201.tar.gz rneovim-998a16c926623a667ecb0228f4a6cd8ba1e90201.tar.bz2 rneovim-998a16c926623a667ecb0228f4a6cd8ba1e90201.zip |
refactor/rename: path_is_absolute()
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 2 |
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); |