diff options
author | Einar Johan Trøan Sømåen | 2012-07-20 14:24:07 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-20 14:24:07 +0200 |
commit | d31b4883a665f962d75e3c96acf47695aa613ed0 (patch) | |
tree | 1a244616b28403407bd1a250c0adf548dc466223 /engines/wintermute/utils/StringUtil.cpp | |
parent | b618f7985f33cbb24e36eaf6490ddc59cc148a0a (diff) | |
download | scummvm-rg350-d31b4883a665f962d75e3c96acf47695aa613ed0.tar.gz scummvm-rg350-d31b4883a665f962d75e3c96acf47695aa613ed0.tar.bz2 scummvm-rg350-d31b4883a665f962d75e3c96acf47695aa613ed0.zip |
WINTERMUTE: Disable ansiToWide for now, as the current implementation was wrong.
An odd side-effect was that the script-function SetHoverCursor in AdItem would
rename it's filenames from "folder\subfolder\filename.ext" to "folder'subfolder'filename.ext"
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);
}
//////////////////////////////////////////////////////////////////////////
|