X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a584a7a6ade199990dd4463488e4bbf3545349..1539c2f54a43b0de6f6d75437b04d30872da9ea4:/src/common/fileconf.cpp 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); }