]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileconf.cpp
blind fix for wxGIFDecoder::ReadGIF
[wxWidgets.git] / 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);
     }