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.

SVN revision: 62691
This commit is contained in:
Tom Hacohen 2011-08-22 11:51:18 +00:00
parent 8c078b294c
commit 4cba183f96
1 changed files with 2 additions and 2 deletions

View File

@ -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