From 84f5e95e86bc76e0dd2008a499deade13d92ccd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 28 Feb 2005 21:14:43 +0000 Subject: [PATCH] Don't use the 'unix-like' check for Palm. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/string.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/string.cpp b/src/common/string.cpp index 501c4694ae..764e1ff3b8 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -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 ) -- 2.45.2