Commit e730cf07 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Backport [15290]

parent 8984dcc1
...@@ -914,7 +914,7 @@ char *FromUTF16( const uint16_t *src ) ...@@ -914,7 +914,7 @@ char *FromUTF16( const uint16_t *src )
/* determine the size of the string */ /* determine the size of the string */
for( len = 1, in = src; *in; len++ ) for( len = 1, in = src; *in; len++ )
in += 2; in++;
return UTF16toUTF8( src, len, NULL ); return UTF16toUTF8( src, len, NULL );
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment