Must convert the last part, too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2001-11-22 09:08:26 +00:00
parent 42ac146ba4
commit f40b54b1e0

View File

@@ -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);
}