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 c43a7e4b90..c5620e2103 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1609,7 +1609,7 @@ int vim_chdirfile(char_u *fname)
char_u dir[MAXPATHL];
vim_strncpy(dir, fname, MAXPATHL - 1);
- *path_tail_with_seperator(dir) = NUL;
+ *path_tail_with_sep(dir) = NUL;
return os_chdir((char *)dir) == 0 ? OK : FAIL;
}
#endif