From 21d423d3d3fd151a28e29a606f256d07dcf004aa Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 9 Mar 1999 17:12:05 +0000 Subject: [PATCH] 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 --- src/msw/iniconf.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.47.2