Thanks to Nicolas Aguirre (captainigloo) for the catch.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58734
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
int ext_h, RGBA_Font_Int *fi, int im_w, int im_h __UNUSED__)
{
#if !defined(OT_SUPPORT) && defined(BIDI_SUPPORT)
- (void) in_text;
- const Eina_Unicode *text = text_props->info->shaped_text +
- text_props->text_offset;
+ const Eina_Unicode *text = (text_props->info) ?
+ text_props->info->shaped_text + text_props->text_offset :
+ in_text;
#else
const Eina_Unicode *text = in_text;
#endif