summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-08 19:51:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-08 19:51:34 +0300
commit0a3902a069321bd58496c6554eb224016755f3c5 (patch)
tree26ff76a65439acae2c90201d53d0845ef6323542
parent290518a76e3dbed5f3452f9e210c90246c8875d4 (diff)
forgotten crash fix for SmileyAdd
-rw-r--r--plugins/SmileyAdd/src/smileys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp
index 570b15469b..8cb83f881d 100644
--- a/plugins/SmileyAdd/src/smileys.cpp
+++ b/plugins/SmileyAdd/src/smileys.cpp
@@ -109,7 +109,7 @@ void SmileyType::MoveToNextFrame()
{
m_index = m_xepimg->SelectNextFrame(m_index);
- for (auto &it : m_arSmileys)
+ for (auto &it : m_arSmileys.rev_iter())
it->Draw();
SetFrameDelay(); // reset timer