diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 18:01:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 18:03:10 +0300 |
commit | 4be752a93cf37700668c604296f37ea08248f13b (patch) | |
tree | 0f838c87eaa6bf289b76f232e6b1571a28a55cba /source/gameengine/Expressions/intern/IntValue.cpp | |
parent | 5513da65b24a3ce77b1709acea841475115f3a7a (diff) |
Cleanup: trailing space in source/gameengine/
Diffstat (limited to 'source/gameengine/Expressions/intern/IntValue.cpp')
-rw-r--r-- | source/gameengine/Expressions/intern/IntValue.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/gameengine/Expressions/intern/IntValue.cpp b/source/gameengine/Expressions/intern/IntValue.cpp index 7b2e841f13f..3315b3a3e3c 100644 --- a/source/gameengine/Expressions/intern/IntValue.cpp +++ b/source/gameengine/Expressions/intern/IntValue.cpp @@ -34,7 +34,7 @@ pre: false effect: constructs a new CIntValue */ { - + #ifdef DEBUG_ m_textval = "Int illegal constructor"; #endif @@ -59,13 +59,13 @@ CIntValue::CIntValue(cInt innie,const char *name,AllocationTYPE alloctype) { m_int = innie; SetName(name); - + if (alloctype==CValue::STACKVALUE) { CValue::DisableRefCount(); } m_pstrRep=NULL; - + } @@ -118,7 +118,7 @@ object and val CValue* CIntValue::CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val) { CValue *ret; - + switch (dtype) { case VALUE_EMPTY_TYPE: case VALUE_INT_TYPE: @@ -312,7 +312,7 @@ const STR_String & CIntValue::GetText() if (!m_pstrRep) m_pstrRep=new STR_String(); m_pstrRep->Format("%lld",m_int); - + return *m_pstrRep; } @@ -323,15 +323,15 @@ CValue* CIntValue::GetReplica() CIntValue* replica = new CIntValue(*this); replica->ProcessReplica(); replica->m_pstrRep = NULL; - + return replica; } void CIntValue::SetValue(CValue* newval) -{ - m_int = (cInt)newval->GetNumber(); +{ + m_int = (cInt)newval->GetNumber(); SetModified(true); } |