mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0109
This commit is contained in:
@@ -7286,7 +7286,7 @@ ex_cd(eap)
|
||||
if (p == NULL || *p == NUL) /* empty is the same as not set */
|
||||
NameBuff[0] = NUL;
|
||||
else
|
||||
STRNCPY(NameBuff, p, MAXPATHL);
|
||||
vim_strncpy(NameBuff, p, MAXPATHL - 1);
|
||||
# else
|
||||
expand_env((char_u *)"$HOME", NameBuff, MAXPATHL);
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user