From a7d7346b9eb3fa62a8912e31d5c00f8e05390425 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Apr 2013 11:27:04 +0300 Subject: some more style fixes from cpplint. --- src/compoundsprite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/compoundsprite.cpp') diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index 24fc7bbdb..9d5e057b2 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -113,7 +113,7 @@ bool CompoundSprite::draw(Graphics *const graphics, if (mNeedsRedraw) updateImages(); - if (mSprites.empty()) // Nothing to draw + if (mSprites.empty()) // Nothing to draw return false; if (mAlpha == 1.0f && mImage) @@ -310,7 +310,6 @@ unsigned int CompoundSprite::getFrameCount(unsigned int layer) void CompoundSprite::redraw() const { - #if SDL_BYTEORDER == SDL_BIG_ENDIAN const int rmask = 0xff000000; const int gmask = 0x00ff0000; -- cgit v1.2.3-70-g09d2