From: Vadim Zeitlin Date: Thu, 22 Nov 2001 00:58:09 +0000 (+0000) Subject: fix for Unicode build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a7ad2611f33165ef9daa0e566640b43e4f03cb83?ds=sidebyside fix for Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 9b3412c6d9..88376df785 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -549,7 +549,7 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream) 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());