Skip to content

Commit

Permalink
[USER32] SetScrollPos should not bypass UserApiHook
Browse files Browse the repository at this point in the history
CORE-18048
  • Loading branch information
learn-more committed Feb 23, 2022
1 parent 015fd3a commit 977c129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32ss/user/user32/controls/scrollbar.c
Expand Up @@ -1723,7 +1723,7 @@ SetScrollPos(HWND hWnd, INT nBar, INT nPos, BOOL bRedraw)
ScrollInfo.fMask = SIF_POS|SIF_PREVIOUSPOS;
ScrollInfo.nPos = nPos;

return RealSetScrollInfo(hWnd, nBar, &ScrollInfo, bRedraw);
return SetScrollInfo(hWnd, nBar, &ScrollInfo, bRedraw);
}

/*
Expand Down

0 comments on commit 977c129

Please sign in to comment.