From: Stefan Csomor Date: Sun, 13 Jan 2002 15:57:24 +0000 (+0000) Subject: corrected retrieval of a long X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7002c07c86fa2a0f0c8a6062210bbb5c3371ceb6 corrected retrieval of a long git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index a90cad6a76..b6f357dc6e 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -844,8 +844,8 @@ bool wxFileConfig::DoReadLong(const wxString& key, long *pl) const { return FALSE; } - - return str.ToLong(pl); + *pl = str.ToLong(pl) ; + return TRUE ; } bool wxFileConfig::DoWriteString(const wxString& key, const wxString& szValue)