From 0dbba78f4fb4a05945be5aab0848c01881b8ac12 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Aug 2020 18:09:03 +0300 Subject: SmileyAdd: - fixes #2545 (SmileyAdd: missing assigned per-contact smileys categories); - unused service MS_SMILEYADD_SHOWSELECTION removed; - name conflict resolution; - version bump; --- plugins/SmileyAdd/src/imagecache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SmileyAdd/src/imagecache.cpp') diff --git a/plugins/SmileyAdd/src/imagecache.cpp b/plugins/SmileyAdd/src/imagecache.cpp index 5959f2c1a3..3aea12abc6 100644 --- a/plugins/SmileyAdd/src/imagecache.cpp +++ b/plugins/SmileyAdd/src/imagecache.cpp @@ -454,7 +454,7 @@ void ImageFType::DrawInternal(HDC hdc, int x, int y, int sizeX, int sizeY) GetObject(m_bmp, sizeof(bm), &bm); if (bm.bmBitsPixel == 32) { - BLENDFUNCTION bf = { 0 }; + BLENDFUNCTION bf = {}; bf.SourceConstantAlpha = 255; bf.AlphaFormat = AC_SRC_ALPHA; GdiAlphaBlend(hdc, x, y, sizeX, sizeY, hdcImg, 0, 0, bm.bmWidth, bm.bmHeight, bf); -- cgit v1.2.3