]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for Unicode build
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Nov 2001 00:58:09 +0000 (00:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Nov 2001 00:58:09 +0000 (00:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

index 9b3412c6d95cdc7b34aee2ec59de634b7a6012eb..88376df785701b5c3eb93a50e98a10e3a29aca7d 100644 (file)
@@ -549,7 +549,7 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream)
 
         char buf[1024];
         while ( !inStream.Read(buf, WXSIZEOF(buf)).Eof() )
 
         char buf[1024];
         while ( !inStream.Read(buf, WXSIZEOF(buf)).Eof() )
-            strTmp += wxString(buf, inStream.LastRead());
+            strTmp.append(wxConvertMB2WX(buf), inStream.LastRead());
 
         strTmp += wxString(buf, inStream.LastRead());
 
 
         strTmp += wxString(buf, inStream.LastRead());