summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_gdiplus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/modern_gdiplus.cpp')
-rw-r--r--plugins/Clist_modern/modern_gdiplus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/modern_gdiplus.cpp b/plugins/Clist_modern/modern_gdiplus.cpp
index 1b8a1acd27..f07e294dbd 100644
--- a/plugins/Clist_modern/modern_gdiplus.cpp
+++ b/plugins/Clist_modern/modern_gdiplus.cpp
@@ -128,14 +128,14 @@ void DrawAvatarImageWithGDIp(HDC hDestDC,int x, int y, DWORD width, DWORD height
if (bmp.bmBitsPixel == 32 && (flag&AVS_PREMULTIPLIED))
{
bmbits = (BYTE*)bmp.bmBits;
- if (!bmbits)
+ if ( !bmbits)
{
bmbits = (BYTE*)malloc(bmp.bmHeight*bmp.bmWidthBytes);
GetBitmapBits(hbmp,bmp.bmHeight*bmp.bmWidthBytes,bmbits);
}
bm = new Bitmap(bmp.bmWidth,bmp.bmHeight,bmp.bmWidthBytes,PixelFormat32bppPARGB,bmbits);
bm->RotateFlip(RotateNoneFlipY);
- if (!bmp.bmBits)
+ if ( !bmp.bmBits)
{
bm->RotateFlip(RotateNoneFlipY);
free(bmbits);