summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/popup_gdiplus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/popup_gdiplus.cpp')
-rw-r--r--plugins/Popup/src/popup_gdiplus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/popup_gdiplus.cpp b/plugins/Popup/src/popup_gdiplus.cpp
index f024eaa31e..9a4b4ed96f 100644
--- a/plugins/Popup/src/popup_gdiplus.cpp
+++ b/plugins/Popup/src/popup_gdiplus.cpp
@@ -76,7 +76,7 @@ HBITMAP SkinEngine_CreateDIB32(int cx, int cy)
}
BITMAPINFO RGB32BitsBITMAPINFO;
- ZeroMemory(&RGB32BitsBITMAPINFO,sizeof(BITMAPINFO));
+ memset(&RGB32BitsBITMAPINFO, 0, sizeof(BITMAPINFO));
RGB32BitsBITMAPINFO.bmiHeader.biSize=sizeof(BITMAPINFOHEADER);
RGB32BitsBITMAPINFO.bmiHeader.biWidth=cx;//bm.bmWidth;
RGB32BitsBITMAPINFO.bmiHeader.biHeight=cy;//bm.bmHeight;