aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 180ebedcd8..9c87dd46d4 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -994,7 +994,7 @@ char_u *vim_strsave_escaped_ext(char_u *string, char_u *esc_chars, int cc, int b
*/
int csh_like_shell(void)
{
- return strstr((char *)gettail(p_sh), "csh") != NULL;
+ return strstr((char *)path_tail(p_sh), "csh") != NULL;
}
/*