Commit 0ab4c36c authored by Alexandre Julliard's avatar Alexandre Julliard

winhelp: Properly handle negative coordinates for mouse events.

parent d0547cb6
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment