1
0
forked from aniani/vim

updated for version 7.0109

This commit is contained in:
Bram Moolenaar
2005-07-18 21:58:11 +00:00
parent bbebc85750
commit ce0842a6ee
30 changed files with 178 additions and 134 deletions

View File

@@ -626,7 +626,7 @@ mch_get_host_name(s, len)
char_u *s;
int len;
{
STRNCPY(s, "Amiga", len);
vim_strncpy(s, "Amiga", len - 1);
}
/*
@@ -690,7 +690,7 @@ mch_FullName(fname, buf, len, force)
{
if (i < len - 1 && (i == 0 || buf[i - 1] != ':'))
buf[i++] = '/';
STRNCPY(buf + i, fname, len - i);
vim_strncpy(buf + i, fname, len - i - 1);
}
}
}