1
0
forked from aniani/vim

updated for version 7.0e06

This commit is contained in:
Bram Moolenaar
2006-04-22 22:33:57 +00:00
parent 57657d85c6
commit eb3593b38b
49 changed files with 729 additions and 365 deletions

View File

@@ -3100,7 +3100,7 @@ enc_locale()
else
s = p + 1;
}
for (i = 0; s[i] != NUL && i < sizeof(buf) - 1; ++i)
for (i = 0; s[i] != NUL && s + i < buf + sizeof(buf) - 1; ++i)
{
if (s[i] == '_' || s[i] == '-')
buf[i] = '-';