summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/anim.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-10 11:41:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-10 11:41:26 +0000
commit0f954168b4bac9877e79f9150e7689cf67b98d10 (patch)
tree5132ce0e6550ff96acadfc34b685ea24218f0da4 /plugins/SmileyAdd/src/anim.cpp
parent09fba0e6c57fe19189150de73a7a9ad7f3462224 (diff)
last portion of fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/anim.cpp')
-rw-r--r--plugins/SmileyAdd/src/anim.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/anim.cpp b/plugins/SmileyAdd/src/anim.cpp
index d84afa5bab..46b66000aa 100644
--- a/plugins/SmileyAdd/src/anim.cpp
+++ b/plugins/SmileyAdd/src/anim.cpp
@@ -18,8 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "general.h"
-Animate::Animate(SmileyType *sml, RECT& rect, HDC hdcMem, HBRUSH hbr, bool clip)
- : m_sml(sml), m_img(NULL),
+Animate::Animate(SmileyType *sml, RECT& rect, HDC hdcMem, HBRUSH hbr, bool clip) :
+ m_sml(sml),
+ m_img(NULL),
m_nFramePosition(0), m_sel(false), m_clip(clip),
m_offset(0), m_running(false),
m_hdcMem(hdcMem), m_hbr(hbr)
@@ -30,7 +31,8 @@ Animate::Animate(SmileyType *sml, RECT& rect, HDC hdcMem, HBRUSH hbr, bool clip)
Animate::~Animate()
{
- if (m_img) m_img->Release();
+ if (m_img)
+ m_img->Release();
}