Fix two user32 resource tests

svn path=/trunk/; revision=43648
This commit is contained in:
Giannis Adamopoulos 2009-10-20 14:42:08 +00:00
parent d1fe1b42ec
commit d3b95aa689

View file

@ -384,6 +384,15 @@ NtUserCreateAcceleratorTable(
{
Accel->Table[Index].key = Entries[Index].key;
}
else
{
RtlMultiByteToUnicodeN(&Accel->Table[Index].key,
sizeof(WCHAR),
NULL,
(PCSTR)&Entries[Index].key,
sizeof(CHAR));
}
Accel->Table[Index].cmd = Entries[Index].cmd;
}