From: Mattia Barbon Date: Thu, 22 Nov 2001 09:08:26 +0000 (+0000) Subject: Must convert the last part, too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f40b54b1e087a1933753db0b53d62274d9c476aa Must convert the last part, too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); }