user32: Fix variable type in SCROLL_HandleScrollEvent(). Remove useless check in SCROLL_SetScrollInfo().

This commit is contained in:
Gerald Pfeifer 2007-11-21 11:25:09 +01:00 committed by Alexandre Julliard
parent 0b79b0e58a
commit 56af18f223
1 changed files with 2 additions and 2 deletions

View File

@ -961,7 +961,7 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
}
else /* WM_MOUSEMOVE */
{
UINT pos;
INT pos;
if (!SCROLL_PtInRectEx( &rect, pt, vertical )) pos = lastClickPos;
else
@ -1621,7 +1621,7 @@ static INT SCROLL_SetScrollInfo( HWND hwnd, INT nBar, LPCSCROLLINFO info, BOOL b
if (info->fMask & SIF_PAGE)
{
if( infoPtr->page != info->nPage && info->nPage >= 0)
if( infoPtr->page != info->nPage )
{
infoPtr->page = info->nPage;
action |= SA_SSI_REFRESH;