forked from enlightenment/efl
need to set trailing NULL as it will not be done automatically.
SVN revision: 41708
This commit is contained in:
parent
3fe43bff2c
commit
09bb18e727
|
@ -46,6 +46,7 @@ evas_intl_utf8_to_visual(const char *text, int *ret_len, FriBidiCharType *direct
|
|||
}
|
||||
|
||||
len = fribidi_utf8_to_unicode(text, byte_len, unicode_in);
|
||||
unicode_in[len] = 0;
|
||||
|
||||
unicode_out = (FriBidiChar *)alloca(sizeof(FriBidiChar) * (len + 1));
|
||||
if (!unicode_out)
|
||||
|
|
Loading…
Reference in New Issue