From a316d537dce50f4b4e1e10f5c26a7851baddbd8b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Aug 2012 18:29:30 +0300 Subject: Small style changes. Also fix overloaded methods visibility. --- src/compoundsprite.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compoundsprite.cpp') diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index a6f0c3d77..53caedc47 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -175,7 +175,7 @@ int CompoundSprite::getWidth() const for (SpriteConstIterator it = mSprites.begin(), it_end = mSprites.end(); it != it_end; ++ it) { - if ((base = (*it))) + if (base = *it) break; } @@ -192,7 +192,7 @@ int CompoundSprite::getHeight() const for (SpriteConstIterator it = mSprites.begin(), it_end = mSprites.end(); it != it_end; ++ it) { - if ((base = (*it))) + if (base = *it) break; } -- cgit v1.2.3-60-g2f50