forked from enlightenment/efl
eina - and follow-on calloc fixup - 0 terminate first calloced string
this follows on from 6dc52db881
This commit is contained in:
parent
6dc52db881
commit
dcc55bbfd4
|
@ -335,6 +335,7 @@ eina_unicode_utf8_to_unicode(const char *utf, int *_len)
|
||||||
{
|
{
|
||||||
*uind = eina_unicode_utf8_next_get(utf, &ind);
|
*uind = eina_unicode_utf8_next_get(utf, &ind);
|
||||||
}
|
}
|
||||||
|
*uind = 0;
|
||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue