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

Oups minor fix

parent dab38ed7
......@@ -388,7 +388,7 @@ char *UTF32toUTF8( wchar_t *src, size_t len, size_t *newlen )
if( res == NULL )
return NULL;
while( len >= sizeof( wchar_t ) )
while( len > 0 )
{
uint32_t uv = *src++;
len--;
......
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