Author: fireball
Date: Wed Jul 22 14:45:42 2009
New Revision: 42142
URL:
http://svn.reactos.org/svn/reactos?rev=42142&view=rev
Log:
- Kill another 16 bit support crappiness.
Modified:
branches/arwinss/reactos/dll/win32/user32/menu.c
Modified: branches/arwinss/reactos/dll/win32/user32/menu.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/user3…
==============================================================================
--- branches/arwinss/reactos/dll/win32/user32/menu.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/dll/win32/user32/menu.c [iso-8859-1] Wed Jul 22 14:45:42
2009
@@ -5403,12 +5403,12 @@
INT WINAPI TranslateAcceleratorW( HWND hWnd, HACCEL hAccel, LPMSG msg )
{
/* YES, Accel16! */
- LPACCEL16 lpAccelTbl;
+ LPACCEL lpAccelTbl;
int i;
if (!hWnd || !msg) return 0;
- if (!hAccel || !(lpAccelTbl = (LPACCEL16) LockResource16(LOWORD(hAccel))))
+ if (!hAccel || !(lpAccelTbl = LockResource(hAccel)))
{
WARN_(accel)("invalid accel handle=%p\n", hAccel);
return 0;