mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[CRT] Fix two obvious typos in _mbbtype().
Patch by Kudratov Olimjon. CORE-8545
This commit is contained in:
@@ -25,7 +25,7 @@ int _mbbtype(unsigned char c , int type)
|
||||
{
|
||||
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 ) )
|
||||
return _MBC_ILLEGAL;
|
||||
else
|
||||
@@ -36,7 +36,7 @@ int _mbbtype(unsigned char c , int type)
|
||||
}
|
||||
else if ( (c >= 0x81 && c <= 0x9F ) || ( c >= 0xE0 && c <= 0xFC) )
|
||||
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 ) )
|
||||
return _MBC_ILLEGAL;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user