Author: dchapyshev
Date: Mon Sep 5 17:44:05 2016
New Revision: 72585
URL:
http://svn.reactos.org/svn/reactos?rev=72585&view=rev
Log:
[RTL]
- Use correct table for multibyte code page
Modified:
trunk/reactos/sdk/lib/rtl/unicode.c
Modified: trunk/reactos/sdk/lib/rtl/unicode.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/rtl/unicode.c?rev=…
==============================================================================
--- trunk/reactos/sdk/lib/rtl/unicode.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/rtl/unicode.c [iso-8859-1] Mon Sep 5 17:44:05 2016
@@ -27,6 +27,7 @@
extern PUSHORT NlsOemLeadByteInfo;
extern PWCHAR NlsOemToUnicodeTable;
extern PCHAR NlsUnicodeToOemTable;
+extern PUSHORT NlsUnicodeToMbOemTable;
/* FUNCTIONS *****************************************************************/
@@ -521,7 +522,7 @@
{
USHORT Offset = 0;
- OemChar = NlsUnicodeToOemTable[*Char];
+ OemChar = NlsUnicodeToMbOemTable[*Char];
/* If character has Lead Byte */
if (NlsOemLeadByteInfo[HIBYTE(OemChar)])