From f40b54b1e087a1933753db0b53d62274d9c476aa Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Thu, 22 Nov 2001 09:08:26 +0000 Subject: [PATCH] Must convert the last part, too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fileconf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.45.2