X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7ad2611f33165ef9daa0e566640b43e4f03cb83..1dc302a8ae2b0e74197723f08a76b883ea9c2c3b:/src/common/fileconf.cpp?ds=sidebyside diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 88376df785..aede4fa655 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -551,7 +551,7 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream) while ( !inStream.Read(buf, WXSIZEOF(buf)).Eof() ) strTmp.append(wxConvertMB2WX(buf), inStream.LastRead()); - strTmp += wxString(buf, inStream.LastRead()); + strTmp.append(wxConvertMB2WX(buf), inStream.LastRead()); strTrans = wxTextBuffer::Translate(strTmp); }