mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
user32: Remove unused variables in SCROLL_TrackScrollBar.
Signed-off-by: Carlo Bramini <carlo.bramix@libero.it> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ac7954b7b9
commit
8d0d1e563c
1 changed files with 2 additions and 3 deletions
|
@ -1096,7 +1096,6 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
|||
void SCROLL_TrackScrollBar( HWND hwnd, INT scrollbar, POINT pt )
|
||||
{
|
||||
MSG msg;
|
||||
INT xoffset = 0, yoffset = 0;
|
||||
|
||||
if (scrollbar != SB_CTL)
|
||||
{
|
||||
|
@ -1117,8 +1116,8 @@ void SCROLL_TrackScrollBar( HWND hwnd, INT scrollbar, POINT pt )
|
|||
msg.message == WM_MOUSEMOVE ||
|
||||
(msg.message == WM_SYSTIMER && msg.wParam == SCROLL_TIMER))
|
||||
{
|
||||
pt.x = (short)LOWORD(msg.lParam) + xoffset;
|
||||
pt.y = (short)HIWORD(msg.lParam) + yoffset;
|
||||
pt.x = (short)LOWORD(msg.lParam);
|
||||
pt.y = (short)HIWORD(msg.lParam);
|
||||
SCROLL_HandleScrollEvent( hwnd, scrollbar, msg.message, pt );
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue