diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-03 18:05:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-03 18:05:17 +0000 |
commit | a4f31a97e407280dc7e306a6c96948b53f9c0cab (patch) | |
tree | 8e76329ed4784e0c8e1ee81070c5b9985989263a /plugins/SmileyAdd/src/anim.cpp | |
parent | f07feab44bd3ef047229f511fadb3a151f200654 (diff) |
SmileyAdd:
- array indexes totally unborkred;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/anim.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/anim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SmileyAdd/src/anim.cpp b/plugins/SmileyAdd/src/anim.cpp index d454d940e3..0fbf663346 100644 --- a/plugins/SmileyAdd/src/anim.cpp +++ b/plugins/SmileyAdd/src/anim.cpp @@ -156,26 +156,26 @@ void AnimatedPack::Add(SmileyType *sml, RECT rect, bool clip) void AnimatedPack::Draw(HDC hdc)
{
- for (int i=0; i<m_AniList.getCount(); i++)
+ for (int i=0; i < m_AniList.getCount(); i++)
m_AniList[i].Draw(hdc);
}
void AnimatedPack::SetOffset(int off)
{
- for (int i=0; i<m_AniList.getCount(); i++)
+ for (int i=0; i < m_AniList.getCount(); i++)
m_AniList[i].SetOffset(off, m_wsize);
}
void AnimatedPack::SetSel(RECT& rect)
{
- for (int i=0; i<m_AniList.getCount(); i++)
+ for (int i=0; i < m_AniList.getCount(); i++)
m_AniList[i].SetSel(rect.left, rect.top);
}
void AnimatedPack::ProcessTimerTick(HWND hwnd)
{
- for (int i=0; i<m_AniList.getCount(); i++)
+ for (int i=0; i < m_AniList.getCount(); i++)
m_AniList[i].ProcessTimerTick(hwnd);
}
|