summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/imagecache.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-18 18:09:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-18 18:09:03 +0300
commit0dbba78f4fb4a05945be5aab0848c01881b8ac12 (patch)
tree22202337f33799f5aef325ac24bae201f724e939 /plugins/SmileyAdd/src/imagecache.cpp
parent5793d48b5574e234397f6cb7a96997342ba44ac0 (diff)
SmileyAdd:
- fixes #2545 (SmileyAdd: missing assigned per-contact smileys categories); - unused service MS_SMILEYADD_SHOWSELECTION removed; - name conflict resolution; - version bump;
Diffstat (limited to 'plugins/SmileyAdd/src/imagecache.cpp')
-rw-r--r--plugins/SmileyAdd/src/imagecache.cpp2
1 files changed, 1 insertions, 1 deletions
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);