0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0b

This commit is contained in:
Bram Moolenaar
2006-03-24 22:21:52 +00:00
parent db552d60ec
commit c01140a1a0
173 changed files with 4011 additions and 2470 deletions

View File

@@ -1432,7 +1432,6 @@ retry:
if (fio_flags & FIO_CODEPAGE)
{
char_u *src, *dst;
int u8c;
WCHAR ucs2buf[3];
int ucs2len;
int codepage = FIO_GET_CP(fio_flags);
@@ -1496,7 +1495,8 @@ retry:
}
else
{
u8c = utf_ptr2char(src);
int u8c = utf_ptr2char(src);
if (u8c > 0xffff || (*src >= 0x80 && bytelen == 1))
found_bad = TRUE;
ucs2buf[0] = u8c;