FA, FB and FC are lead bytes according to recent Microsoft documentation.
This commit is contained in:
parent
d891f26821
commit
0b78986fe2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105075
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user