diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index fc8dc0ff8fd27a6d3e2cf11c703a32c9557dd751..7a83299daced7c30de80718100ea16a8d9104880 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -202,7 +202,7 @@ class LLChatHistoryHeader: public LLPanel userName->setValue(SL); } - mMinUserNameWidth = style_params.font.getValueFromBlock()->getWidth(userName->getWText().c_str()) + PADDING; + mMinUserNameWidth = style_params.font()->getWidth(userName->getWText().c_str()) + PADDING; setTimeField(chat);