[KERNEL32]

- Igor Paliychuk: Fix properly showing genitive names from NLS data by applying a missed Wine sync.
See issue #5556 for more details.

svn path=/trunk/; revision=48917
This commit is contained in:
Aleksey Bragin 2010-09-28 14:24:17 +00:00
parent a6480c90d3
commit 66ff3d5774

View file

@ -1761,7 +1761,7 @@ GetLocaleInfoW (
}
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;