Author: fireball
Date: Sun Nov 2 09:15:37 2008
New Revision: 37150
URL:
http://svn.reactos.org/svn/reactos?rev=37150&view=rev
Log:
Dmitry Gorbachev
- Fix a bug in OEM to Unicode conversion code (wrong cast).
See issue #3837 for more details.
Modified:
trunk/reactos/lib/rtl/nls.c
Modified: trunk/reactos/lib/rtl/nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/nls.c?rev=37150&am…
==============================================================================
--- trunk/reactos/lib/rtl/nls.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/nls.c [iso-8859-1] Sun Nov 2 09:15:37 2008
@@ -366,7 +366,7 @@
for (i = 0; i < Size; i++)
{
- *UnicodeString = NlsOemToUnicodeTable[(INT)*OemString];
+ *UnicodeString = NlsOemToUnicodeTable[(UCHAR)*OemString];
UnicodeString++;
OemString++;
}