comctl32/theme_scrollbar: Remove an unused variable.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a8856381ed
commit
d9b47aa303
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue