From: cedric Date: Fri, 18 May 2012 03:16:22 +0000 (+0000) Subject: evas: don't try to walk if we don't have anything to walk on. X-Git-Tag: accepted/2.0/20130306.225542~52^2~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dad9f09dd42e4a5a128ef2087b6bd2fe90818a16;p=profile%2Fivi%2Fevas.git evas: don't try to walk if we don't have anything to walk on. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@71221 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/evas_font_draw.c b/src/lib/engines/common/evas_font_draw.c index 83b2807..614e56e 100644 --- a/src/lib/engines/common/evas_font_draw.c +++ b/src/lib/engines/common/evas_font_draw.c @@ -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)