hhctrl.ocx: Properly handle negative coordinates for mouse events.
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c index 2c288b6..1ed1c8b 100644 --- a/dlls/hhctrl.ocx/help.c +++ b/dlls/hhctrl.ocx/help.c
@@ -132,7 +132,10 @@ static void SB_OnLButtonUp(HWND hWnd, WPARAM wParam, LPARAM lParam) { HHInfo *pHHInfo = (HHInfo *)GetWindowLongPtrW(hWnd, GWLP_USERDATA); - POINTS pt = MAKEPOINTS(lParam); + POINT pt; + + pt.x = (short)LOWORD(lParam); + pt.y = (short)HIWORD(lParam); /* update the window sizes */ pHHInfo->pHHWinType->iNavWidth += pt.x;