From: Stefan Csomor Date: Tue, 9 Mar 1999 17:12:05 +0000 (+0000) Subject: Read was not copying back the buffers contents into the string parameter X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/21d423d3d3fd151a28e29a606f256d07dcf004aa Read was not copying back the buffers contents into the string parameter git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index 9bb3f31d92..0bf6bf2ab4 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -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; } }