X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7002c07c86fa2a0f0c8a6062210bbb5c3371ceb6..9b69526274b023fa1460b29a92bea8bf82e4703f:/src/common/fileconf.cpp diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index b6f357dc6e..e976daf434 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -844,8 +844,7 @@ bool wxFileConfig::DoReadLong(const wxString& key, long *pl) const { return FALSE; } - *pl = str.ToLong(pl) ; - return TRUE ; + return str.ToLong(pl) ; } bool wxFileConfig::DoWriteString(const wxString& key, const wxString& szValue)