mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[CRT] Fix two obvious typos in _mbbtype().
Patch by Kudratov Olimjon. CORE-8545
This commit is contained in:
parent
b70ef2ee56
commit
bb7292b287
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ int _mbbtype(unsigned char c , int type)
|
||||||
{
|
{
|
||||||
return _MBC_TRAIL;
|
return _MBC_TRAIL;
|
||||||
}
|
}
|
||||||
else if (( c >= 0x20 && c >= 0x7E ) || ( c >= 0xA1 && c <= 0xDF ) ||
|
else if (( c >= 0x20 && c <= 0x7E ) || ( c >= 0xA1 && c <= 0xDF ) ||
|
||||||
( c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC ) )
|
( c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC ) )
|
||||||
return _MBC_ILLEGAL;
|
return _MBC_ILLEGAL;
|
||||||
else
|
else
|
||||||
|
@ -36,7 +36,7 @@ int _mbbtype(unsigned char c , int type)
|
||||||
}
|
}
|
||||||
else if ( (c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC) )
|
else if ( (c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC) )
|
||||||
return _MBC_LEAD;
|
return _MBC_LEAD;
|
||||||
else if (( c >= 0x20 && c >= 0x7E ) || ( c >= 0xA1 && c <= 0xDF ) ||
|
else if (( c >= 0x20 && c <= 0x7E ) || ( c >= 0xA1 && c <= 0xDF ) ||
|
||||||
( c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC ) )
|
( c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC ) )
|
||||||
return _MBC_ILLEGAL;
|
return _MBC_ILLEGAL;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue