summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2017-04-10 16:10:59 +0300
committerandreykproductengine <akleshchev@productengine.com>2017-04-10 16:10:59 +0300
commit9e426f5340d348270ee6014e6e338102758563db (patch)
tree87ddc583d833c7fa96ab6ac9487eddaf94ee9263 /indra/newview
parent10213f994f64de1f50e1ff6b9b5f43be549d19cb (diff)
MAINT-6283 Fixing line enfings
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lllogchat.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp
index e310bbb062..5abd99d36f 100644
--- a/indra/newview/lllogchat.cpp
+++ b/indra/newview/lllogchat.cpp
@@ -852,25 +852,25 @@ void LLChatLogFormatter::format(const LLSD& im, std::ostream& ostr) const
{
std::string from = im[LL_IM_FROM].asString();
boost::trim(from);
-
- std::size_t found = from.find(IM_SYMBOL_SEPARATOR);
- std::size_t len = from.size();
- std::size_t start = 0;
- while (found != std::string::npos)
- {
- std::size_t sub_len = found - start;
- if (sub_len > 0)
- {
- ostr << from.substr(start, sub_len);
- }
- LLURI::encodeCharacter(ostr, IM_SYMBOL_SEPARATOR);
- start = found + 1;
- found = from.find(IM_SYMBOL_SEPARATOR, start);
- }
- if (start < len)
- {
- std::string str_end = from.substr(start, len - start);
- ostr << str_end;
+
+ std::size_t found = from.find(IM_SYMBOL_SEPARATOR);
+ std::size_t len = from.size();
+ std::size_t start = 0;
+ while (found != std::string::npos)
+ {
+ std::size_t sub_len = found - start;
+ if (sub_len > 0)
+ {
+ ostr << from.substr(start, sub_len);
+ }
+ LLURI::encodeCharacter(ostr, IM_SYMBOL_SEPARATOR);
+ start = found + 1;
+ found = from.find(IM_SYMBOL_SEPARATOR, start);
+ }
+ if (start < len)
+ {
+ std::string str_end = from.substr(start, len - start);
+ ostr << str_end;
}
if (len > 0)
{