mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +00:00
[uxtheme]
- Fix a warning svn path=/trunk/; revision=53750
This commit is contained in:
parent
9bb964caeb
commit
e3ee8d26e9
|
@ -1735,12 +1735,13 @@ HRESULT WINAPI GetThemeBackgroundExtent(HTHEME hTheme, HDC hdc, int iPartId,
|
|||
static HBITMAP UXTHEME_DrawThemePartToDib(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCRECT pRect)
|
||||
{
|
||||
HDC hdcMem;
|
||||
BITMAPINFO bmi = {0};
|
||||
BITMAPINFO bmi;
|
||||
HBITMAP hbmp, hbmpOld;
|
||||
HBRUSH hbrBack;
|
||||
|
||||
hdcMem = CreateCompatibleDC(0);
|
||||
|
||||
memset(&bmi, 0, sizeof(bmi));
|
||||
bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader);
|
||||
bmi.bmiHeader.biWidth = pRect->right;
|
||||
bmi.bmiHeader.biHeight = -pRect->bottom;
|
||||
|
|
Loading…
Reference in a new issue