Author: fireball
Date: Tue Sep 28 14:24:17 2010
New Revision: 48917
URL:
http://svn.reactos.org/svn/reactos?rev=48917&view=rev
Log:
[KERNEL32]
- Igor Paliychuk: Fix properly showing genitive names from NLS data by applying a missed
Wine sync.
See issue #5556 for more details.
Modified:
trunk/reactos/dll/win32/kernel32/misc/lang.c
Modified: trunk/reactos/dll/win32/kernel32/misc/lang.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/la…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/lang.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/lang.c [iso-8859-1] Tue Sep 28 14:24:17 2010
@@ -1761,7 +1761,7 @@
}
else
{
- memcpy( lpLCData, ch + 1, *ch * sizeof(WCHAR) );
+ memcpy( lpLCData, ch + 1, nRet * sizeof(WCHAR) );
if (LCType != LOCALE_FONTSIGNATURE) lpLCData[nRet-1] = 0;
}
return nRet;