Committing in .

Patches for OpenVMS

 Modified Files:
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/common/strconv.cpp
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2004-11-02 08:31:08 +00:00
parent fa06876d15
commit 7c8fad40bf
2 changed files with 9 additions and 2 deletions

View File

@@ -473,8 +473,12 @@ size_t wxMBConvUTF7::WC2MB(char *buf, const wchar_t
len++;
}
#ifndef WC_UTF16
else if (cc > ((const wchar_t)0xffff))
{
#ifdef __VMS
else if (cc > 0xffff)
#else
else if (cc > ((const wchar_t)0xffff))
#endif
{
// no surrogate pair generation (yet?)
return (size_t)-1;
}