mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:25:44 +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 the WC_NO_BEST_FIT_CHARS flag has been specified, the characters need to match exactly. */
|
||||||
if (Flags & WC_NO_BEST_FIT_CHARS)
|
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
|
/* By default, all characters except TransDefaultChar apply as a valid mapping
|
||||||
for ch (so also "nearest" characters) */
|
for ch (so also "nearest" characters) */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue