]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/platinfo.cpp
Forgot header with OSX prefix
[wxWidgets.git] / src / common / platinfo.cpp
index 9bf0d9c69e6b4aaba6659c7097e0c808e78a4ef0..fbb27bfd942731bad3ba04ed2c42986d60ac0996 100644 (file)
@@ -66,7 +66,10 @@ static const wxChar* const wxOperatingSystemIdNames[] =
     _T("Other Unix"),
 
     _T("DOS"),
     _T("Other Unix"),
 
     _T("DOS"),
-    _T("OS/2")
+    _T("OS/2"),
+
+    _T("PalmOS"),
+    _T("PalmOS(Over Linux)"),
 };
 
 static const wxChar* const wxPortIdNames[] =
 };
 
 static const wxChar* const wxPortIdNames[] =
@@ -324,11 +327,11 @@ wxArchitecture wxPlatformInfo::GetArch(const wxString &arch)
 
 wxEndianness wxPlatformInfo::GetEndianness(const wxString& end)
 {
 
 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;
 
         return wxENDIAN_LITTLE;
 
-    if ( end.StartsWith(wxT("big")) )
+    if ( endl.StartsWith(wxT("big")) )
         return wxENDIAN_BIG;
 
     return wxENDIAN_INVALID;
         return wxENDIAN_BIG;
 
     return wxENDIAN_INVALID;