X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a584a7a6ade199990dd4463488e4bbf3545349..7a5c8ac45abec3ae8311c227523bae0c12f128bc:/src/common/fileconf.cpp?ds=sidebyside diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 9b3412c6d9..aede4fa655 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -549,9 +549,9 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream) char buf[1024]; while ( !inStream.Read(buf, WXSIZEOF(buf)).Eof() ) - strTmp += wxString(buf, inStream.LastRead()); + strTmp.append(wxConvertMB2WX(buf), inStream.LastRead()); - strTmp += wxString(buf, inStream.LastRead()); + strTmp.append(wxConvertMB2WX(buf), inStream.LastRead()); strTrans = wxTextBuffer::Translate(strTmp); }