diff options
author | Oz Linden <oz@lindenlab.com> | 2011-06-01 07:21:09 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-06-01 07:21:09 -0400 |
commit | e9501b855b32189f1bf627853487a443e6d9daf8 (patch) | |
tree | 3fead613d37b33f51f99a09c8a1fd8ab4f6b3353 /indra/newview/llviewerchat.cpp | |
parent | 6c9b45f4d6776e87cb1d70df0c456d29c3eb0ed7 (diff) | |
parent | d6f7526abf223b671b4e17be48dcc1e46e8f2fd8 (diff) |
merge changes for storm-1299
Diffstat (limited to 'indra/newview/llviewerchat.cpp')
-rw-r--r-- | indra/newview/llviewerchat.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewerchat.cpp b/indra/newview/llviewerchat.cpp index e06fe7bda0..93687dbd5f 100644 --- a/indra/newview/llviewerchat.cpp +++ b/indra/newview/llviewerchat.cpp @@ -80,6 +80,10 @@ void LLViewerChat::getChatColor(const LLChat& chat, LLColor4& r_color) { r_color = LLUIColorTable::instance().getColor("llOwnerSayChatColor"); } + else if ( chat.mChatType == CHAT_TYPE_DIRECT ) + { + r_color = LLUIColorTable::instance().getColor("DirectChatColor"); + } else { r_color = LLUIColorTable::instance().getColor("ObjectChatColor"); @@ -146,6 +150,10 @@ void LLViewerChat::getChatColor(const LLChat& chat, std::string& r_color_name, F { r_color_name = "llOwnerSayChatColor"; } + else if ( chat.mChatType == CHAT_TYPE_DIRECT ) + { + r_color_name = "DirectChatColor"; + } else { r_color_name = "ObjectChatColor"; |