mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
Fix two user32 resource tests
svn path=/trunk/; revision=43648
This commit is contained in:
parent
d1fe1b42ec
commit
d3b95aa689
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue