Generally speaking, dereffing uninited pointners is not so good.

Squash one nasal daemon!


SVN revision: 50403
This commit is contained in:
Brett Nash 2010-07-21 03:51:36 +00:00
parent 489cae4eee
commit 9dc5a96f2d
1 changed files with 2 additions and 1 deletions

View File

@ -818,7 +818,8 @@ evas_font_word_prerender(RGBA_Draw_Context *dc, const char *in_text, int len, RG
* holder, will change in the future.*/
char *visual_text = evas_intl_utf8_to_visual(in_text, &len, &direction, NULL, NULL, &level_list);
text = (visual_text) ? visual_text : in_text;
#else
text = in_text;
#endif
gl = dc->font_ext.func.gl_new ? 1: 0;