summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/AniSmileyObject.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-31 17:03:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-31 17:03:12 +0300
commite667e034f103a17e8cf37689ea2de762f49704c2 (patch)
treeb39eba4e89914f2a451a37652db6a4637f4ea9bb /plugins/SmileyAdd/src/AniSmileyObject.cpp
parent4d9bf8032dd659e091394d688b6a2c59bf222240 (diff)
fix for drawing half-visible smileys
Diffstat (limited to 'plugins/SmileyAdd/src/AniSmileyObject.cpp')
-rw-r--r--plugins/SmileyAdd/src/AniSmileyObject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/AniSmileyObject.cpp b/plugins/SmileyAdd/src/AniSmileyObject.cpp
index 176d0760c3..c0c41f39c6 100644
--- a/plugins/SmileyAdd/src/AniSmileyObject.cpp
+++ b/plugins/SmileyAdd/src/AniSmileyObject.cpp
@@ -349,7 +349,8 @@ public:
STDMETHOD(SetExtent)(DWORD dwDrawAspect, SIZEL *psizel)
{
HRESULT hr = ISmileyBase::SetExtent(dwDrawAspect, psizel);
- if (hr == S_OK) m_rectExt = m_sizeExtent;
+ if (hr == S_OK)
+ m_rectExt = m_sizeExtent;
return hr;
}
};