aboutsummaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 0cf3c0d01b..afcab215ac 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2493,7 +2493,7 @@ void set_init_3(void)
p = skiptowhite(p_sh);
if (*p == NUL) {
/* No white space, use the tail. */
- p = vim_strsave(gettail(p_sh));
+ p = vim_strsave(path_tail(p_sh));
} else {
char_u *p1, *p2;