aboutsummaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorJohn <john.schmidt.h@gmail.com>2014-04-13 20:30:53 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-29 09:24:34 -0300
commit42efbfd2fde0942cc7826993191206c24a34b555 (patch)
treeb0cb7c94f06626734da396e20b2ee2f10c300340 /src/mark.c
parentc57002a7c34a553f68eeb65fa6e5b1e3a9e3ad24 (diff)
downloadrneovim-42efbfd2fde0942cc7826993191206c24a34b555.tar.gz
rneovim-42efbfd2fde0942cc7826993191206c24a34b555.tar.bz2
rneovim-42efbfd2fde0942cc7826993191206c24a34b555.zip
Test and refactor `shorten_fname` and `shorten_fname1`
Rename `shorten_fname` -> `path_shorten_fname` Rename `shorten_fname1` -> `path_shorten_fname_if_possible`
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index d5dd868167..bd37f93eb1 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -482,7 +482,7 @@ static void fname2fnum(xfmark_T *fm)
/* Try to shorten the file name. */
os_dirname(IObuff, IOSIZE);
- p = shorten_fname(NameBuff, IObuff);
+ p = path_shorten_fname(NameBuff, IObuff);
/* buflist_new() will call fmarks_check_names() */
(void)buflist_new(NameBuff, p, (linenr_T)1, 0);