mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 06:07:31 -04:00
FA, FB and FC are lead bytes according to recent Microsoft documentation.
This commit is contained in:
parent
d891f26821
commit
0b78986fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue