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