summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-03-18 17:12:43 -0700
committerRichard Linden <none@none>2010-03-18 17:12:43 -0700
commitfd096e5011c8d777f54c7fe473b12e6730dbedc0 (patch)
tree0bb9638c9a8e9b6172a4fd0f64afcbddbe26afc3 /indra
parentfabae99883ff724f0f46336cf787d99997ec9f33 (diff)
EXT-5549 - Can't Select Last Character In Chat Window
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llchathistory.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index e1c96d4a16..78b258a82d 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -718,7 +718,7 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
view->reshape(target_rect.getWidth(), view->getRect().getHeight());
view->setOrigin(target_rect.mLeft, view->getRect().mBottom);
- std::string widget_associated_text = "\n[" + chat.mTimeStr + "] ";
+ std::string widget_associated_text = "[" + chat.mTimeStr + "] ";
if (utf8str_trim(chat.mFromName).size() != 0 && chat.mFromName != SYSTEM_FROM)
widget_associated_text += chat.mFromName + delimiter;
@@ -816,6 +816,8 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
{
message = chat.mFromName + message;
}
+
+ message += "\n";
mEditor->appendText(message, FALSE, style_params);