From: tasn Date: Mon, 22 Aug 2011 11:51:18 +0000 (+0000) Subject: Evas font: Revert "evas/font - removed an unusefull handling." X-Git-Tag: submit/trunk/20120815.174732~981 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f1ebd83972330a394fa29ba61ce4a841197e53c;p=profile%2Fivi%2Fevas.git Evas font: Revert "evas/font - removed an unusefull handling." This reverts commit 62684. This is needed to verify we don't access info->ot when info is NULL. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62691 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/evas_font_default_walk.x b/src/lib/engines/common/evas_font_default_walk.x index 73d187b..56807b8 100644 --- a/src/lib/engines/common/evas_font_default_walk.x +++ b/src/lib/engines/common/evas_font_default_walk.x @@ -22,8 +22,8 @@ /* Visual walk helper macros */ #ifdef OT_SUPPORT #define _EVAS_FONT_WALK_TEXT_START() \ - Evas_Font_OT_Info *_ot_itr = \ - text_props->info->ot + text_props->start; \ + Evas_Font_OT_Info *_ot_itr = (text_props->info) ? \ + text_props->info->ot + text_props->start : NULL; \ for (char_index = 0 ; char_index < text_props->len ; char_index++, _glyph_itr++, _ot_itr++) \ { #else