summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-07-26 13:04:28 +0300
committerMike Antipov <mantipov@productengine.com>2010-07-26 13:04:28 +0300
commit002bbd885b1e22db12229c3a8ffb6c4fdbfdfc5c (patch)
treef30d1aed7b740a57cfd4cd993248241b0d7d5945 /indra
parent8e461d902ed12b6a054cb92a19835d7af2a31474 (diff)
EXT-8318 FIX IMPROVED converted EOLs
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llstring.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index 671b0a108c..2693c0e22b 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -673,9 +673,9 @@ std::string ll_convert_wide_to_string(const wchar_t* in, unsigned int code_page)
wchar_t* ll_convert_string_to_wide(const std::string& in, unsigned int code_page)
{
// From review:
- // We can preallocate a wide char buffer that is the same length (in wchar_t elements) as the utf8 input,
- // plus one for a null terminator, and be guaranteed to not overflow.
-
+ // We can preallocate a wide char buffer that is the same length (in wchar_t elements) as the utf8 input,
+ // plus one for a null terminator, and be guaranteed to not overflow.
+
// Normally, I'd call that sort of thing premature optimization,
// but we *are* seeing string operations taking a bunch of time, especially when constructing widgets.
// int output_str_len = MultiByteToWideChar(code_page, 0, in.c_str(), in.length(), NULL, 0);