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

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

View File

@@ -198,10 +198,10 @@ bool SCA_PropertySensor::CheckPropertyCondition()
/* Patch: floating point values cant use strings usefully since you can have "0.0" == "0.0000"
* this could be made into a generic Value class function for comparing values with a string.
*/
if(result==false && dynamic_cast<CFloatValue *>(orgprop) != NULL) {
if (result==false && dynamic_cast<CFloatValue *>(orgprop) != NULL) {
float f;
if(EOF == sscanf(m_checkpropval.ReadPtr(), "%f", &f))
if (EOF == sscanf(m_checkpropval.ReadPtr(), "%f", &f))
{
//error
}