Author: gadamopoulos
Date: Tue Oct 20 16:42:08 2009
New Revision: 43648
URL:
http://svn.reactos.org/svn/reactos?rev=43648&view=rev
Log:
Fix two user32 resource tests
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c [iso-8859-1] Tue Oct 20
16:42:08 2009
@@ -384,6 +384,15 @@
{
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;
}