summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneltopinfobar.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-01-11 14:18:36 -0800
committerMerov Linden <merov@lindenlab.com>2013-01-11 14:18:36 -0800
commit9f8959d480d1069f554c576a4cc9a494559ef1e4 (patch)
tree7ae4f550c1039cdb15d0087a0511310dddf8b5a5 /indra/newview/llpaneltopinfobar.cpp
parentd16757545c91d4f7dac3c52a311ad0f0239052e1 (diff)
parent573ab07a40acc78e28ae390331d862d3f858bb07 (diff)
Pull merge from viewer-chui
Diffstat (limited to 'indra/newview/llpaneltopinfobar.cpp')
-rw-r--r--indra/newview/llpaneltopinfobar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpaneltopinfobar.cpp b/indra/newview/llpaneltopinfobar.cpp
index 280cc11179..854deb00d0 100644
--- a/indra/newview/llpaneltopinfobar.cpp
+++ b/indra/newview/llpaneltopinfobar.cpp
@@ -230,7 +230,7 @@ void LLPanelTopInfoBar::buildLocationString(std::string& loc_str, bool show_coor
void LLPanelTopInfoBar::setParcelInfoText(const std::string& new_text)
{
LLRect old_rect = getRect();
- const LLFontGL* font = mParcelInfoText->getDefaultFont();
+ const LLFontGL* font = mParcelInfoText->getFont();
S32 new_text_width = font->getWidth(new_text);
mParcelInfoText->setText(new_text);