mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[RTL]
- Use correct table for multibyte code page svn path=/trunk/; revision=72585
This commit is contained in:
parent
05a9507394
commit
e8b1768ca7
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ extern USHORT NlsUnicodeDefaultChar;
|
|||
extern PUSHORT NlsOemLeadByteInfo;
|
||||
extern PWCHAR NlsOemToUnicodeTable;
|
||||
extern PCHAR NlsUnicodeToOemTable;
|
||||
extern PUSHORT NlsUnicodeToMbOemTable;
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
@ -521,7 +522,7 @@ RtlIsValidOemCharacter(IN PWCHAR Char)
|
|||
{
|
||||
USHORT Offset = 0;
|
||||
|
||||
OemChar = NlsUnicodeToOemTable[*Char];
|
||||
OemChar = NlsUnicodeToMbOemTable[*Char];
|
||||
|
||||
/* If character has Lead Byte */
|
||||
if (NlsOemLeadByteInfo[HIBYTE(OemChar)])
|
||||
|
|
Loading…
Reference in a new issue