mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
Fix IntIsValidSBCSMapping(). Bug #3903.
svn path=/trunk/; revision=37970
This commit is contained in:
parent
14572bf220
commit
69096be449
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ IntIsValidSBCSMapping(PCPTABLEINFO CodePageTable, DWORD Flags, WCHAR wch, UCHAR
|
|||
{
|
||||
/* If the WC_NO_BEST_FIT_CHARS flag has been specified, the characters need to match exactly. */
|
||||
if (Flags & WC_NO_BEST_FIT_CHARS)
|
||||
return (CodePageTable->MultiByteTable[ch] != wch);
|
||||
return (CodePageTable->MultiByteTable[ch] == wch);
|
||||
|
||||
/* By default, all characters except TransDefaultChar apply as a valid mapping
|
||||
for ch (so also "nearest" characters) */
|
||||
|
|
Loading…
Reference in a new issue