]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sysopt.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / sysopt.cpp
index 8b117011d243d5f1748f2dfc64ea07abe8d5619a..4536efb4fbec529e3dbb6e0be9721594c17620f9 100644 (file)
@@ -101,12 +101,7 @@ wxString wxSystemOptions::GetOption(const wxString& name)
 
 int wxSystemOptions::GetOptionInt(const wxString& name)
 {
-#ifdef _PACC_VER
-    // work around the PalmOS pacc compiler bug
-    return wxAtoi (GetOption(name).data());
-#else
     return wxAtoi (GetOption(name));
-#endif
 }
 
 bool wxSystemOptions::HasOption(const wxString& name)