aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/llstring.cpp')
-rw-r--r--linden/indra/llcommon/llstring.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llstring.cpp b/linden/indra/llcommon/llstring.cpp
index 5cb42cc..c9f684f 100644
--- a/linden/indra/llcommon/llstring.cpp
+++ b/linden/indra/llcommon/llstring.cpp
@@ -195,6 +195,7 @@ llutf16string utf8str_to_utf16str ( const LLString& utf8str )
195LLWString utf16str_to_wstring(const llutf16string &utf16str, S32 len) 195LLWString utf16str_to_wstring(const llutf16string &utf16str, S32 len)
196{ 196{
197 LLWString wout; 197 LLWString wout;
198 if((len <= 0) || utf16str.empty()) return wout;
198 199
199 S32 i = 0; 200 S32 i = 0;
200 // craziness to make gcc happy (llutf16string.c_str() is tweaked on linux): 201 // craziness to make gcc happy (llutf16string.c_str() is tweaked on linux):