summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-12-18 17:05:45 -0500
committerEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-12-18 17:05:45 -0500
commit8e8b14971855bf023f4f6af0a4ece13bb444b778 (patch)
tree5069ec1b10ebc250c92e86ab3df53027dc180412
parent1e922c266657d74e5a746334777917f4efaf7871 (diff)
fix for osx compile error
-rw-r--r--indra/newview/llchathistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index fc8dc0ff8f..7a83299dac 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -202,7 +202,7 @@ public:
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);