]> git.saurik.com Git - wxWidgets.git/commitdiff
Read was not copying back the buffers contents into the string parameter
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Mar 1999 17:12:05 +0000 (17:12 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Mar 1999 17:12:05 +0000 (17:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/iniconf.cpp

index 9bb3f31d92efe996126e6e2c5ac18a069f625133..0bf6bf2ab48664c4975efbd6b0761a3a2bcd8984 100644 (file)
@@ -304,6 +304,7 @@ bool wxIniConfig::Read(const wxString& szKey, wxString *pstr) const
     return FALSE;
   }
   else {
+       *pstr = szBuf ;
     return TRUE;
   }
 }
@@ -332,6 +333,7 @@ bool wxIniConfig::Read(const wxString& szKey, wxString *pstr,
     return FALSE;
   }
   else {
+       *pstr = szBuf ;
     return TRUE;
   }
 }