issue #1686:format codes

This commit is contained in:
minggo 2013-02-26 17:03:29 +08:00
parent 4fc6e1070b
commit 25fd256dbd
2 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ bool CCTransitionPageTurn::initWithDuration(float t, CCScene *scene, bool backwa
// XXX: needed before [super init]
m_bBack = backwards;
if( CCTransitionScene::initWithDuration(t, scene) )
if (CCTransitionScene::initWithDuration(t, scene))
{
// do something
}
@ -72,7 +72,7 @@ void CCTransitionPageTurn::onEnter()
CCTransitionScene::onEnter();
CCSize s = CCDirector::sharedDirector()->getWinSize();
int x,y;
if( s.width > s.height)
if (s.width > s.height)
{
x=16;
y=12;
@ -85,7 +85,7 @@ void CCTransitionPageTurn::onEnter()
CCActionInterval *action = this->actionWithSize(CCSizeMake(x,y));
if(! m_bBack )
if (! m_bBack )
{
m_pOutScene->runAction
(
@ -119,7 +119,7 @@ void CCTransitionPageTurn::onEnter()
CCActionInterval* CCTransitionPageTurn:: actionWithSize(const CCSize& vector)
{
if( m_bBack )
if (m_bBack)
{
// Get hold of the PageTurn3DAction
return CCReverseTime::create

View File

@ -108,7 +108,7 @@ void CCTransitionProgress::onEnter()
void CCTransitionProgress::onExit()
{
// remove our layer and release all containing objects
removeChildByTag(kCCSceneRadial, false);
removeChildByTag(kCCSceneRadial, true);
CCTransitionScene::onExit();
}