mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
Add cast to correctly interpret signed coordinate values.
This commit is contained in:
parent
af54ef9ce1
commit
00d0d7f21f
@ -1239,8 +1239,8 @@ void SCROLL_TrackScrollBar( HWND hwnd, INT scrollbar, POINT pt )
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
case WM_SYSTIMER:
|
||||
pt.x = LOWORD(msg.lParam) + xoffset;
|
||||
pt.y = HIWORD(msg.lParam) + yoffset;
|
||||
pt.x = (short)LOWORD(msg.lParam) + xoffset;
|
||||
pt.y = (short)HIWORD(msg.lParam) + yoffset;
|
||||
SCROLL_HandleScrollEvent( hwnd, scrollbar, msg.message, pt );
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user