summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.cpp
diff options
context:
space:
mode:
authorbea@american.lindenlab.com <bea@american.lindenlab.com>2009-12-01 18:50:53 -0800
committerbea@american.lindenlab.com <bea@american.lindenlab.com>2009-12-01 18:50:53 -0800
commit916720dd110d089a295e2c28f1702da7e6725e83 (patch)
tree090eec84797cfa6014a9b42cb0659e6e8d2a8cd9 /indra/newview/llchiclet.cpp
parent9026ac3264b00636a72a0c196b02cdac96b2c156 (diff)
parent1db0d32133f97b03a632f03fa78e198b7f00866b (diff)
merge
Diffstat (limited to 'indra/newview/llchiclet.cpp')
-rw-r--r--indra/newview/llchiclet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp
index f41e326dd0..9aef02c5c8 100644
--- a/indra/newview/llchiclet.cpp
+++ b/indra/newview/llchiclet.cpp
@@ -1362,7 +1362,7 @@ void LLChicletNotificationCounterCtrl::setCounter(S32 counter)
LLRect LLChicletNotificationCounterCtrl::getRequiredRect()
{
LLRect rc;
- S32 text_width = getContentsRect().getWidth();
+ S32 text_width = getTextPixelWidth();
rc.mRight = rc.mLeft + llmax(text_width, mInitialWidth);