Fix sizeof(WCHAR) vs sizeof(CHAR) problem. Patch by Victor Martinez.
CORE-8166 #resolve #comment Committed in r63341, thanks.

svn path=/trunk/; revision=63341
This commit is contained in:
Timo Kreuzer 2014-05-17 23:00:34 +00:00
parent 34ea0a3ea7
commit 7c2c3d6d1f

View file

@ -131,7 +131,7 @@ LoadAppInitDlls()
LPWSTR ptr;
size_t i;
RtlCopyMemory(buffer, szAppInit, KEY_LENGTH);
RtlCopyMemory(buffer, szAppInit, KEY_LENGTH * sizeof(WCHAR) );
for (i = 0; i < KEY_LENGTH; ++ i)
{