mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[uxtheme]
- Fix a warning svn path=/trunk/; revision=53750
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user