diff options
author | Richard Nelson <none@none> | 2010-03-23 11:18:01 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-03-23 11:18:01 -0700 |
commit | 91b90b0a1749471a9016c4935b58c08a3dd66523 (patch) | |
tree | 4f6491facf7fb603bb95ace300aa369797ff4dc6 /indra/newview | |
parent | 3dc1bcd6ffba8b5763503375ff55e49f9b8323fd (diff) |
EXT-5549 Can't select last character in chat window
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llchathistory.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 7a45637d42..fc906a8f8e 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 = "[" + chat.mTimeStr + "] "; + std::string widget_associated_text = "\n[" + chat.mTimeStr + "] "; if (utf8str_trim(chat.mFromName).size() != 0 && chat.mFromName != SYSTEM_FROM) widget_associated_text += chat.mFromName + delimiter; @@ -835,9 +835,6 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL message = chat.mFromName + message; } - message += "\n"; - - mEditor->appendText(message, FALSE, style_params); } mEditor->blockUndo(); |