Silence gcc misleading-indentation warning
This commit is contained in:
parent
a08d944867
commit
0df6f036d6
|
@ -354,7 +354,8 @@ size_t utf16_encode_char( unsigned cur_wchar, wchar_t * out )
|
||||||
{
|
{
|
||||||
if ( cur_wchar < 0x10000 )
|
if ( cur_wchar < 0x10000 )
|
||||||
{
|
{
|
||||||
if ( out ) *out = (wchar_t) cur_wchar; return 1;
|
if ( out ) *out = (wchar_t) cur_wchar;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
else if ( cur_wchar < ( 1 << 20 ) )
|
else if ( cur_wchar < ( 1 << 20 ) )
|
||||||
{
|
{
|
||||||
|
@ -370,7 +371,8 @@ size_t utf16_encode_char( unsigned cur_wchar, wchar_t * out )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( out ) *out = '?'; return 1;
|
if ( out ) *out = '?';
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue