From 093d9a507c48524f5724b14afb8829ca55f0447e Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 11 Jul 2013 17:07:41 +0800 Subject: [PATCH] closed #2396: indentation fix. --- extensions/GUI/CCControlExtension/CCScale9Sprite.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/GUI/CCControlExtension/CCScale9Sprite.cpp b/extensions/GUI/CCControlExtension/CCScale9Sprite.cpp index 8f01666bd5..9d9d782216 100644 --- a/extensions/GUI/CCControlExtension/CCScale9Sprite.cpp +++ b/extensions/GUI/CCControlExtension/CCScale9Sprite.cpp @@ -384,11 +384,11 @@ bool Scale9Sprite::updateWithBatchNode(SpriteBatchNode* batchnode, Rect rect, bo this->addChild(_scale9Image); if (_spritesGenerated) - { - // Restore color and opacity - this->setOpacity(opacity); - this->setColor(color); - } + { + // Restore color and opacity + this->setOpacity(opacity); + this->setColor(color); + } _spritesGenerated = true; return true;