diff options
author | Jacek Antonelli | 2008-08-15 23:45:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:54 -0500 |
commit | d0b03a62fd799317d5da0bd56615739ce3b5b052 (patch) | |
tree | 8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llfloaterchat.cpp | |
parent | Second Life viewer sources 1.20.8 (diff) | |
download | meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2 meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz |
Second Life viewer sources 1.20.9
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterchat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp index d05b231..383a33e 100644 --- a/linden/indra/newview/llfloaterchat.cpp +++ b/linden/indra/newview/llfloaterchat.cpp | |||
@@ -207,7 +207,8 @@ void add_timestamped_line(LLViewerTextEditor* edit, const LLChat &chat, const LL | |||
207 | { | 207 | { |
208 | line = line.substr(chat.mFromName.length()); | 208 | line = line.substr(chat.mFromName.length()); |
209 | const LLStyleSP &sourceStyle = LLStyleMap::instance().lookup(chat.mFromID); | 209 | const LLStyleSP &sourceStyle = LLStyleMap::instance().lookup(chat.mFromID); |
210 | edit->appendStyledText(chat.mFromName, false, false, &sourceStyle); | 210 | edit->appendStyledText(chat.mFromName, false, prepend_newline, &sourceStyle); |
211 | prepend_newline = false; | ||
211 | } | 212 | } |
212 | edit->appendColoredText(line, false, prepend_newline, color); | 213 | edit->appendColoredText(line, false, prepend_newline, color); |
213 | } | 214 | } |