1
0
forked from aniani/vim

updated for version 7.0109

This commit is contained in:
Bram Moolenaar
2005-07-18 21:40:44 +00:00
parent e759a7aa9a
commit b635633989
11 changed files with 91 additions and 70 deletions

View File

@@ -523,7 +523,7 @@ mch_get_host_name(s, len)
if (xswi(OS_ReadVarVal, "Machine$Name", s, len, 0, 3) & v_flag)
{
/* Variable does not exist (normal operation) */
STRNCPY(s, "(unknown)", len);
vim_strncpy(s, "(unknown)", len - 1);
}
}