From cc28cb4cc3bd31887392511d4664e2a769c9076c Mon Sep 17 00:00:00 2001 From: nash Date: Tue, 24 Aug 2010 08:14:15 +0000 Subject: [PATCH] Fix potential crash with word cache and RTL git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51606 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_font_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/engines/common/evas_font_draw.c b/src/lib/engines/common/evas_font_draw.c index 8979bdc..efc88cf 100644 --- a/src/lib/engines/common/evas_font_draw.c +++ b/src/lib/engines/common/evas_font_draw.c @@ -872,7 +872,7 @@ evas_font_word_prerender(RGBA_Draw_Context *dc, const Eina_Unicode *in_text, Eva * index is now the index and the other way around. * There is a slight exception when there are compositing chars * involved.*/ - if (intl_props && + if (intl_props && intl_props->props && evas_bidi_is_rtl_char(intl_props->props->embedding_levels, char_index) && ci->fg->glyph->advance.x >> 16 > 0) { -- 2.7.4