evas: don't try to walk if we don't have anything to walk on.

SVN revision: 71221
This commit is contained in:
Cedric BAIL 2012-05-18 03:16:22 +00:00
parent b0d3526d89
commit 495addd041
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, int x, in
im = dst->image.data;
if (!text_props->bin) return ;
glyphs = (void*) eina_binbuf_string_get(text_props->bin);
length = eina_binbuf_length_get(text_props->bin) / sizeof (Evas_Glyph);
for (it = 0; it < length; ++it)