need to set trailing NULL as it will not be done automatically.

SVN revision: 41708
This commit is contained in:
Gustavo Sverzut Barbieri 2009-08-12 16:02:32 +00:00
parent 3fe43bff2c
commit 09bb18e727
1 changed files with 1 additions and 0 deletions

View File

@ -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)