summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-03-19 16:03:08 -0700
committerRichard Nelson <none@none>2010-03-19 16:03:08 -0700
commit3dc1bcd6ffba8b5763503375ff55e49f9b8323fd (patch)
tree0ea40f07878c45204f2fdfc920785971b3334622
parentc7ad3de0560860a9b7ecf90a975d3c7293ff1c6e (diff)
parent8992f058e077a78d091c864619d9d740dc305094 (diff)
merge
-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 ffa24a0c15..7a45637d42 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -734,7 +734,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;
@@ -834,6 +834,8 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
{
message = chat.mFromName + message;
}
+
+ message += "\n";
mEditor->appendText(message, FALSE, style_params);