diff options
Diffstat (limited to 'engines/wintermute/utils/StringUtil.cpp')
-rw-r--r-- | engines/wintermute/utils/StringUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/utils/StringUtil.cpp b/engines/wintermute/utils/StringUtil.cpp index c5ad025939..303e7b1131 100644 --- a/engines/wintermute/utils/StringUtil.cpp +++ b/engines/wintermute/utils/StringUtil.cpp @@ -168,11 +168,11 @@ WideString StringUtil::ansiToWide(const AnsiString &str) { hasWarned = true;
warning("StringUtil::AnsiToWide - WideString not supported yet");
}
- Common::String converted = "";
+ /*Common::String converted = "";
uint32 index = 0;
while (index != str.size()) {
converted += simpleAnsiToWide(str, index);
- }
+ }*/
// using default os locale!
/* setlocale(LC_CTYPE, "");
@@ -182,7 +182,7 @@ WideString StringUtil::ansiToWide(const AnsiString &str) { WideString ResultString(wstr);
delete [] wstr;
return ResultString;*/
- return WideString(converted);
+ return WideString(str);
}
//////////////////////////////////////////////////////////////////////////
|