--- a/src/hbcore/effects/hbeffectanimation.cpp Thu May 27 13:10:59 2010 +0300
+++ b/src/hbcore/effects/hbeffectanimation.cpp Fri Jun 11 13:58:22 2010 +0300
@@ -23,8 +23,8 @@
**
****************************************************************************/
-#include <hbglobal.h>
#include "hbeffectanimation_p.h"
+#include "hbglobal.h"
#include "hbeffectgroup_p.h"
#include "hbeffectdef_p.h"
#include "hbeffectfxmldata_p.h"
@@ -85,7 +85,7 @@
if (current > mLoopEnd) {
int newCurrentTime = mLoopStart + current - mLoopEnd;
-
+
// If the calculated new current time is again beyond the loop end,
// change it to the loop end to avoid infinite recursion.
if (newCurrentTime > mLoopEnd) {
@@ -109,13 +109,13 @@
if (looping()) {
int current = currentTime();
int newCurrentTime = mLoopStart + current - mLoopEnd;
-
+
// If the calculated new current time is again beyond the loop end,
// change it to the loop end to avoid infinite recursion.
if (newCurrentTime > mLoopEnd) {
newCurrentTime = mLoopEnd;
}
-
+
// Temporarily prevent the animation from reacting to update request,
// because start() causes update with time=0 and the loop might start from a later point of time.
mInactive = true;