mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
- Fix build.
svn path=/trunk/; revision=60719
This commit is contained in:
parent
d700b033fc
commit
533fa53c13
|
@ -904,6 +904,13 @@ ProcessKeyEvent(WORD wVk, WORD wScanCode, DWORD dwFlags, BOOL bInjected, DWORD d
|
|||
}
|
||||
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 ||
|
||||
|
@ -916,13 +923,6 @@ ProcessKeyEvent(WORD wVk, WORD wScanCode, DWORD dwFlags, BOOL bInjected, DWORD d
|
|||
}
|
||||
}
|
||||
|
||||
/* 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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue