X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/449090b54d2e74bfd28c217bab25d11764ca38cc..51fe4b60ab4fec78eb1a67473d08b1c4740d03f5:/src/common/platinfo.cpp diff --git a/src/common/platinfo.cpp b/src/common/platinfo.cpp index 1d8d99e22f..fbb27bfd94 100644 --- a/src/common/platinfo.cpp +++ b/src/common/platinfo.cpp @@ -62,8 +62,14 @@ static const wxChar* const wxOperatingSystemIdNames[] = _T("AIX"), _T("HPUX"), + _T("Other Unix"), + _T("Other Unix"), + _T("DOS"), - _T("OS/2") + _T("OS/2"), + + _T("PalmOS"), + _T("PalmOS(Over Linux)"), }; static const wxChar* const wxPortIdNames[] = @@ -321,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;