mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
refactor/rename: path_is_absolute()
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user