summaryrefslogtreecommitdiffstats
path: root/tests/auto/animation/animationutils/tst_animationutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/animation/animationutils/tst_animationutils.cpp')
-rw-r--r--tests/auto/animation/animationutils/tst_animationutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/animation/animationutils/tst_animationutils.cpp b/tests/auto/animation/animationutils/tst_animationutils.cpp
index 534eb1678..80d9a4d53 100644
--- a/tests/auto/animation/animationutils/tst_animationutils.cpp
+++ b/tests/auto/animation/animationutils/tst_animationutils.cpp
@@ -61,8 +61,8 @@ bool fuzzyCompare(float x1, float x2)
{
if (qFuzzyIsNull(x1) && qFuzzyIsNull(x2)) {
return true;
- } else if (qFuzzyIsNull(x1) && !qFuzzyIsNull(x2) ||
- !qFuzzyIsNull(x1) && qFuzzyIsNull(x2)) {
+ } else if ((qFuzzyIsNull(x1) && !qFuzzyIsNull(x2)) ||
+ (!qFuzzyIsNull(x1) && qFuzzyIsNull(x2))) {
return false;
} else {
return qFuzzyCompare(x1, x2);