style cleanup: follow style guide for/with/if spacing

This commit is contained in:
2012-03-24 07:52:14 +00:00
parent 81d8f17843
commit b8a71efeba
213 changed files with 2407 additions and 2406 deletions

View File

@@ -52,7 +52,7 @@ SCA_JoystickManager::~SCA_JoystickManager()
{
int i;
for (i=0; i<JOYINDEX_MAX; i++) {
if(m_joystick[i])
if (m_joystick[i])
m_joystick[i]->ReleaseInstance();
}
}
@@ -72,7 +72,7 @@ void SCA_JoystickManager::NextFrame(double curtime,double deltatime)
for (it.begin();!it.end();++it)
{
SCA_JoystickSensor* joysensor = *it;
if(!joysensor->IsSuspended())
if (!joysensor->IsSuspended())
{
joysensor->Activate(m_logicmgr);
}