summaryrefslogtreecommitdiff
path: root/indra/llui/llchatentry.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-10-17 17:52:10 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2012-10-17 17:52:10 -0700
commit49ad7fd4b57cec635c557070be02556094e90ff6 (patch)
treeec2a5a18901c756f110b28778aed915651c35f97 /indra/llui/llchatentry.cpp
parent3dc61c4b4afed47826070aa906e58c8c5ca3efa0 (diff)
CHUI-410: Post code review submit, changed useLabel() to return bool instead of BOOL. Adjusted code accordingly.
Diffstat (limited to 'indra/llui/llchatentry.cpp')
-rw-r--r--indra/llui/llchatentry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llchatentry.cpp b/indra/llui/llchatentry.cpp
index 38e2a8106a..8e9c6555c3 100644
--- a/indra/llui/llchatentry.cpp
+++ b/indra/llui/llchatentry.cpp
@@ -146,10 +146,11 @@ void LLChatEntry::beforeValueChange()
void LLChatEntry::onValueChange(S32 start, S32 end)
{
+ //Internally resetLabel() must meet a condition before it can reset the label
resetLabel();
}
-BOOL LLChatEntry::useLabel()
+bool LLChatEntry::useLabel()
{
return !getLength() && !mLabel.empty();
}