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:
John
2014-04-13 20:30:53 +02:00
committed by Thiago de Arruda
parent c57002a7c3
commit 42efbfd2fd
10 changed files with 91 additions and 48 deletions

View File

@@ -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) {