]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected retrieval of a long
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 13 Jan 2002 15:57:24 +0000 (15:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 13 Jan 2002 15:57:24 +0000 (15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

index a90cad6a766910673fe7e0a70a868e053c81a3ed..b6f357dc6e657a6633c27cf16175385eb0fdfc64 100644 (file)
@@ -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)