X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7528971e6bd0745f2e9f2234fc8e63235f0dba3a..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/common/platinfo.cpp?ds=sidebyside diff --git a/src/common/platinfo.cpp b/src/common/platinfo.cpp index 9bf0d9c69e..fbb27bfd94 100644 --- a/src/common/platinfo.cpp +++ b/src/common/platinfo.cpp @@ -66,7 +66,10 @@ static const wxChar* const wxOperatingSystemIdNames[] = _T("Other Unix"), _T("DOS"), - _T("OS/2") + _T("OS/2"), + + _T("PalmOS"), + _T("PalmOS(Over Linux)"), }; static const wxChar* const wxPortIdNames[] = @@ -324,11 +327,11 @@ wxArchitecture wxPlatformInfo::GetArch(const wxString &arch) wxEndianness wxPlatformInfo::GetEndianness(const wxString& end) { - wxString endl(end.Lower()); - if ( end.StartsWith(wxT("little")) ) + const wxString endl(end.Lower()); + if ( endl.StartsWith(wxT("little")) ) return wxENDIAN_LITTLE; - if ( end.StartsWith(wxT("big")) ) + if ( endl.StartsWith(wxT("big")) ) return wxENDIAN_BIG; return wxENDIAN_INVALID;