Author: jimtabor
Date: Sun Oct 20 05:31:48 2013
New Revision: 60719
URL:
http://svn.reactos.org/svn/reactos?rev=60719&view=rev
Log:
- Fix build.
Modified:
trunk/reactos/win32ss/user/ntuser/keyboard.c
Modified: trunk/reactos/win32ss/user/ntuser/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/keyboa…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/keyboard.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/keyboard.c [iso-8859-1] Sun Oct 20 05:31:48 2013
@@ -904,6 +904,13 @@
}
if (Wnd) pti = Wnd->head.pti;
+ /* Init message */
+ Msg.hwnd = Wnd ? UserHMGetHandle(Wnd) : NULL;
+ Msg.wParam = wFixedVk & 0xFF; /* Note: It's simplified by msg queue */
+ Msg.lParam = MAKELPARAM(1, wScanCode);
+ Msg.time = dwTime;
+ Msg.pt = gpsi->ptCursor;
+
if ( Msg.message == WM_KEYDOWN || Msg.message == WM_SYSKEYDOWN )
{
if ( (Msg.wParam == VK_SHIFT ||
@@ -915,13 +922,6 @@
//ptiLastInput = pti;
}
}
-
- /* Init message */
- Msg.hwnd = Wnd ? UserHMGetHandle(Wnd) : NULL;
- Msg.wParam = wFixedVk & 0xFF; /* Note: It's simplified by msg queue */
- Msg.lParam = MAKELPARAM(1, wScanCode);
- Msg.time = dwTime;
- Msg.pt = gpsi->ptCursor;
/* If it is VK_PACKET, high word of wParam is used for wchar */
if (!bPacket)