diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index caf9c080574315fb342c6904cb54f6eae017a5ea..c4c046b3c45e85b9416b39d6058ea11d22f464fe 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -302,7 +302,7 @@ class LLChatHistoryHeader: public LLPanel 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()); }