]> git.saurik.com Git - wxWidgets.git/commitdiff
Must convert the last part, too
authorMattia Barbon <mbarbon@cpan.org>
Thu, 22 Nov 2001 09:08:26 +0000 (09:08 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 22 Nov 2001 09:08:26 +0000 (09:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

index 88376df785701b5c3eb93a50e98a10e3a29aca7d..aede4fa65551289b76179436c410a3c32689875a 100644 (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);
     }