aboutsummaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 2a8dae97d6..db8b9dc58f 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3052,7 +3052,7 @@ char_u *vim_getenv(char_u *name, int *mustfree)
#endif
if (p != NULL) {
/* remove the file name */
- pend = gettail(p);
+ pend = path_tail(p);
/* remove "doc/" from 'helpfile', if present */
if (p == p_hf)
@@ -3285,7 +3285,7 @@ home_replace (
* If the file is a help file, remove the path completely.
*/
if (buf != NULL && buf->b_help) {
- STRCPY(dst, gettail(src));
+ STRCPY(dst, path_tail(src));
return;
}