diff --git a/contrib/src/xml/xmlres.cpp b/contrib/src/xml/xmlres.cpp index ea00c03c75..9d2b7d37c3 100644 --- a/contrib/src/xml/xmlres.cpp +++ b/contrib/src/xml/xmlres.cpp @@ -441,8 +441,7 @@ bool wxXmlResourceHandler::GetBool(const wxString& param, bool defaultv) wxString v = GetParamValue(param); v.MakeLower(); if (!v) return defaultv; - else return v == _T("1") || v == _T("t") || v == _T("yes") || - v == _T("on") || v == _T("true"); + else return (v == _T("1")); }