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

@@ -4788,8 +4788,7 @@ vim_FullName(fname, buf, len, force)
if (url || retval == FAIL)
{
/* something failed; use the file name (truncate when too long) */
STRNCPY(buf, fname, len);
buf[len - 1] = NUL;
vim_strncpy(buf, fname, len - 1);
}
#if defined(MACOS_CLASSIC) || defined(OS2) || defined(MSDOS) || defined(MSWIN)
slash_adjust(buf);