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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user