Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com --- dlls/comctl32/theme_scrollbar.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/dlls/comctl32/theme_scrollbar.c b/dlls/comctl32/theme_scrollbar.c index bb42267bf21..27d31bd4ac5 100644 --- a/dlls/comctl32/theme_scrollbar.c +++ b/dlls/comctl32/theme_scrollbar.c @@ -334,16 +334,12 @@ static void paint_scrollbar(HWND hwnd, HTHEME theme)
DrawThemeBackground(theme, dc, SBP_SIZEBOX, state, &r, NULL); } else { - SCROLLBARINFO sbi; SCROLLINFO si; unsigned int thumbpos, thumbsize; int uppertrackstate, lowertrackstate, thumbstate; RECT partrect, trackrect; SIZE grippersize;
- sbi.cbSize = sizeof(sbi); - GetScrollBarInfo(hwnd, OBJID_CLIENT, &sbi); - si.cbSize = sizeof(si); si.fMask = SIF_ALL; GetScrollInfo(hwnd, SB_CTL, &si);