X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a08c20ec23c76032ae062a2935c6c4d7ae489f2..bc8e3eadaf1d794cb05e4f88bc8dc206d4d43bc4:/src/common/string.cpp 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 )