forked from enlightenment/efl
evas_textblock: fix compilation without harfbuzz
Differential Revision: https://phab.enlightenment.org/D9845
This commit is contained in:
parent
7a05d8d769
commit
155f2f98af
|
@ -9728,7 +9728,7 @@ _evas_textblock_cursor_cluster_pos_get(Evas_Textblock_Cursor *cur, Eina_Bool inc
|
||||||
|
|
||||||
free(grapheme_breaks);
|
free(grapheme_breaks);
|
||||||
}
|
}
|
||||||
|
#ifdef OT_SUPPORT
|
||||||
if (is_single_glyph)
|
if (is_single_glyph)
|
||||||
{
|
{
|
||||||
Evas_Object_Textblock_Text_Item *ti = _ITEM_TEXT(last_it);
|
Evas_Object_Textblock_Text_Item *ti = _ITEM_TEXT(last_it);
|
||||||
|
@ -9786,6 +9786,9 @@ _evas_textblock_cursor_cluster_pos_get(Evas_Textblock_Cursor *cur, Eina_Bool inc
|
||||||
is_single_glyph = EINA_FALSE;
|
is_single_glyph = EINA_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else//#ifdef OT_SUPPORT
|
||||||
|
(void)is_single_glyph;
|
||||||
|
#endif//#ifdef OT_SUPPORT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue