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)