]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use the 'unix-like' check for Palm.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 28 Feb 2005 21:14:43 +0000 (21:14 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 28 Feb 2005 21:14:43 +0000 (21:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 501c4694ae912eae45ab7d8352530446f5e90b04..764e1ff3b89a2535ffa28f671eeb901e9eb92fb6 100644 (file)
@@ -1841,9 +1841,9 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr)
         // buffer were large enough
         // also, it may return an errno may be something like EILSEQ,
         // in which case we need to break out
-        if ( (len >= 0 && len <= size) 
-        // No EOVERFLOW on Windows
-#ifndef __WXMSW__
+        if ( (len >= 0 && len <= size)
+        // No EOVERFLOW on Windows nor Palm 6.0
+#if !defined(__WXMSW__) && !defined(__WXPALMOS__)
             || errno != EOVERFLOW
 #endif
             )