diff options
Diffstat (limited to 'src/modules/utils/imgconv.cpp')
-rw-r--r-- | src/modules/utils/imgconv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/utils/imgconv.cpp b/src/modules/utils/imgconv.cpp index 20550b12c7..287976093a 100644 --- a/src/modules/utils/imgconv.cpp +++ b/src/modules/utils/imgconv.cpp @@ -28,7 +28,7 @@ typedef DWORD ARGB; void InitBitmapInfo(BITMAPINFO &bmi, const SIZE &size)
{
- ZeroMemory(&bmi, sizeof(BITMAPINFO));
+ memset(&bmi, 0, sizeof(BITMAPINFO));
bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
bmi.bmiHeader.biPlanes = 1;
bmi.bmiHeader.biCompression = BI_RGB;
|