FA, FB and FC are lead bytes according to recent Microsoft documentation.

This commit is contained in:
Tim J. Robbins 2002-10-14 01:50:45 +00:00
parent d891f26821
commit 0b78986fe2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105075

View File

@ -75,7 +75,7 @@ _MSKanji_sgetrune(string, n, result)
rune = *string++ & 0xff;
if ((rune > 0x80 && rune < 0xa0) ||
(rune >= 0xe0 && rune < 0xfa)) {
(rune >= 0xe0 && rune < 0xfd)) {
if (n < 2) {
rune = _INVALID_RUNE;
--string;