mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 05:56:24 +00:00
winhelp: Properly handle negative coordinates for mouse events.
This commit is contained in:
parent
d0547cb631
commit
0ab4c36c8e
|
@ -1111,8 +1111,8 @@ static LRESULT CALLBACK WINHELP_TextWndProc(HWND hWnd, UINT msg, WPARAM wParam,
|
|||
HLPFILE* hlpfile;
|
||||
HLPFILE_WINDOWINFO* wi;
|
||||
|
||||
mouse.x = LOWORD(lParam);
|
||||
mouse.y = HIWORD(lParam);
|
||||
mouse.x = (short)LOWORD(lParam);
|
||||
mouse.y = (short)HIWORD(lParam);
|
||||
|
||||
if (part->link) switch (part->link->cookie)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue