mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
[UxTheme]
- Fix uninitialized local variable context, MSVC Build. See CORE-9225. svn path=/trunk/; revision=69254
This commit is contained in:
parent
a2fc6201e1
commit
66e1ce7904
1 changed files with 3 additions and 3 deletions
|
@ -399,14 +399,14 @@ SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The scrollbar rect is in screen coordinates */
|
|
||||||
OffsetRect(&sbi.rcScrollBar, -context.wi.rcWindow.left, -context.wi.rcWindow.top);
|
|
||||||
|
|
||||||
if ((SCROLL_trackHitTest == SCROLL_NOWHERE) && (msg != WM_LBUTTONDOWN))
|
if ((SCROLL_trackHitTest == SCROLL_NOWHERE) && (msg != WM_LBUTTONDOWN))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ThemeInitDrawContext(&context, hwnd, 0);
|
ThemeInitDrawContext(&context, hwnd, 0);
|
||||||
|
|
||||||
|
/* The scrollbar rect is in screen coordinates */
|
||||||
|
OffsetRect(&sbi.rcScrollBar, -context.wi.rcWindow.left, -context.wi.rcWindow.top);
|
||||||
|
|
||||||
hwndOwner = (nBar == SB_CTL) ? GetParent(hwnd) : hwnd;
|
hwndOwner = (nBar == SB_CTL) ? GetParent(hwnd) : hwnd;
|
||||||
hwndCtl = (nBar == SB_CTL) ? hwnd : 0;
|
hwndCtl = (nBar == SB_CTL) ? hwnd : 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue