mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
Fix seperator->separator, path_tail_with_separator->path_tail_with_sep.
This commit is contained in:

committed by
Thiago de Arruda

parent
955d6a2949
commit
865e3280a8
@@ -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
|
||||
|
Reference in New Issue
Block a user