another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6232543b1b
commit
14c90e0074
@ -97,7 +97,7 @@ WXDLLEXPORT_DATA(wxMBConv *) wxConvCurrent = &wxConvLibc;
|
|||||||
|
|
||||||
#ifdef WC_UTF16
|
#ifdef WC_UTF16
|
||||||
|
|
||||||
static size_t encode_utf16(wxUint32 input,wxUint16*output)
|
static size_t encode_utf16(wxUint32 input, wxUint16 *output)
|
||||||
{
|
{
|
||||||
if (input<=0xffff)
|
if (input<=0xffff)
|
||||||
{
|
{
|
||||||
@ -119,7 +119,7 @@ static size_t encode_utf16(wxUint32 input,wxUint16*output)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t decode_utf16(wxUint16*input,wxUint32&output)
|
static size_t decode_utf16(const wxUint16* input, wxUint32& output)
|
||||||
{
|
{
|
||||||
if ((*input<0xd800) || (*input>0xdfff))
|
if ((*input<0xd800) || (*input>0xdfff))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user