From d9dc061224339663cd538a976273f8f8147d56eb Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 4 Aug 2015 09:59:42 +0200 Subject: [PATCH] Fix fake booleans --- indra/llxml/llcontrol.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/indra/llxml/llcontrol.cpp b/indra/llxml/llcontrol.cpp index d6c4505e0a..00d56dce2a 100755 --- a/indra/llxml/llcontrol.cpp +++ b/indra/llxml/llcontrol.cpp @@ -316,16 +316,16 @@ bool LLControlVariable::isSane() { if (mSanityType <= 0) { - return TRUE; + return true; } // it's the default value, or we can't check sanity, assume it's sane if (mValues.size() < 2 || !mValues[1] || mValues[1].isUndefined()) { - return TRUE; + return true; } - bool sanity = FALSE; + bool sanity = false; switch (mSanityType) { @@ -354,10 +354,10 @@ bool LLControlVariable::isSane() sanity = (mValues[1].asReal() <= mSanityValues[0].asReal() || mValues[1].asReal() >= mSanityValues[1].asReal()); break; case SANITY_TYPE_NONE: - sanity = TRUE; + sanity = true; break; default: - sanity = FALSE; + sanity = false; } return sanity;