From 7002c07c86fa2a0f0c8a6062210bbb5c3371ceb6 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 13 Jan 2002 15:57:24 +0000 Subject: [PATCH] corrected retrieval of a long git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fileconf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2