summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-13 15:19:37 +0800
committerangela <angela@lindenlab.com>2009-11-13 15:19:37 +0800
commit01f1eaf7e0faaa3ecde36ac28a346fed53a571fd (patch)
tree8ab472d46dfdf6ededa810b94b68800b6995561f
parent0d4ccb9d1c0761864c8b0c19f0bdd1700b425837 (diff)
fix style readonlycolor overwriting color
-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 2b050f3eb5..69e1f8d428 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -351,6 +351,7 @@ void LLChatHistory::appendWidgetMessage(const LLChat& chat)
LLStyle::Params style_params;
style_params.color(txt_color);
+ style_params.readonly_color(txt_color);
style_params.font(fontp);
@@ -383,7 +384,6 @@ void LLChatHistory::appendWidgetMessage(const LLChat& chat)
appendWidget(p, view_text, false);
//Append the text message
-
appendText(chat.mText, FALSE, style_params);
mLastFromName = chat.mFromName;