* evas: prevent possible segv.

SVN revision: 53408
This commit is contained in:
Cedric BAIL 2010-10-14 15:52:10 +00:00
parent 6485492cbe
commit d88f751b16
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ evas_common_font_query_size(RGBA_Font *fn, const Eina_Unicode *text, const Evas_
pface = fi->src->ft.face;
fg = evas_common_font_int_cache_glyph_get(fi, index);
LKU(fi->ft_mutex);
if (!fg) continue;
if (!fg || !fg->glyph) continue;
if (kern < 0) kern = 0;