mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +00:00
Test and refactor shorten_fname
and shorten_fname1
Rename `shorten_fname` -> `path_shorten_fname` Rename `shorten_fname1` -> `path_shorten_fname_if_possible`
This commit is contained in:
@@ -19553,7 +19553,7 @@ repeat:
|
||||
if (p != NULL) {
|
||||
if (c == '.') {
|
||||
os_dirname(dirname, MAXPATHL);
|
||||
s = shorten_fname(p, dirname);
|
||||
s = path_shorten_fname(p, dirname);
|
||||
if (s != NULL) {
|
||||
*fnamep = s;
|
||||
if (pbuf != NULL) {
|
||||
|
Reference in New Issue
Block a user