summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-04-16 11:52:27 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-04-16 11:52:27 -0600
commit0039e80d7c625e466833b86df5767c723f698034 (patch)
tree83a09e56690fdbc78198e1d3f597adee7f2e3f74
parent375c05ac43ed56c8ad9670dfdfc801085075a2a2 (diff)
bool not U32
-rwxr-xr-xindra/llui/llkeywords.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp
index 21129853de..e2ffd30f8d 100755
--- a/indra/llui/llkeywords.cpp
+++ b/indra/llui/llkeywords.cpp
@@ -37,14 +37,14 @@
inline bool LLKeywordToken::isHead(const llwchar* s) const
{
// strncmp is much faster than string compare
- bool res = TRUE;
+ bool res = true;
const llwchar* t = mToken.c_str();
S32 len = mToken.size();
for (S32 i=0; i<len; i++)
{
if (s[i] != t[i])
{
- res = FALSE;
+ res = false;
break;
}
}
@@ -53,14 +53,14 @@ inline bool LLKeywordToken::isHead(const llwchar* s) const
inline bool LLKeywordToken::isTail(const llwchar* s) const
{
- bool res = TRUE;
+ bool res = true;
const llwchar* t = mDelimiter.c_str();
S32 len = mDelimiter.size();
for (S32 i=0; i<len; i++)
{
if (s[i] != t[i])
{
- res = FALSE;
+ res = false;
break;
}
}