mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
refactor/rename: path_try_shorten_fname()
This commit is contained in:
@@ -1908,7 +1908,7 @@ int pathcmp(const char *p, const char *q, int maxlen)
|
||||
/// - Pointer into `full_path` if shortened.
|
||||
/// - `full_path` unchanged if no shorter name is possible.
|
||||
/// - NULL if `full_path` is NULL.
|
||||
char_u *path_shorten_fname_if_possible(char_u *full_path)
|
||||
char_u *path_try_shorten_fname(char_u *full_path)
|
||||
{
|
||||
char_u *dirname = xmalloc(MAXPATHL);
|
||||
char_u *p = full_path;
|
||||
|
Reference in New Issue
Block a user