summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-11-30 11:41:00 +0200
committerMike Antipov <mantipov@productengine.com>2009-11-30 11:41:00 +0200
commitc83aa5ba6af31a46eaf2b605e469feeb8bc26871 (patch)
tree1263b5e97745449b1dee9f6af8248c7061f7bda0 /indra
parentf0426b924f543c62268ac5098c0c2c6a44e68084 (diff)
Fixed wrong type for getChild<LLTextBox>("user_name") to prevent WARNING logging.
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-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 caf9c08057..c4c046b3c4 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -302,7 +302,7 @@ private:
time_box->translate(delta_pos_x, delta_pos_y);
//... & change width of the name control
- LLTextBox* user_name = getChild<LLTextBox>("user_name");
+ LLView* user_name = getChild<LLView>("user_name");
const LLRect& user_rect = user_name->getRect();
user_name->reshape(user_rect.getWidth() + delta_pos_x, user_rect.getHeight());
}