Author: gadamopoulos
Date: Mon Sep 19 13:07:03 2011
New Revision: 53750
URL:
http://svn.reactos.org/svn/reactos?rev=53750&view=rev
Log:
[uxtheme]
- Fix a warning
Modified:
trunk/reactos/dll/win32/uxtheme/draw.c
Modified: trunk/reactos/dll/win32/uxtheme/draw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/draw.c?r…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/draw.c [iso-8859-1] Mon Sep 19 13:07:03 2011
@@ -1735,12 +1735,13 @@
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;