From 155f2f98af9f006c9a47f0a2a436b13c1ab78c26 Mon Sep 17 00:00:00 2001 From: Ali Alzyod Date: Thu, 5 Sep 2019 08:26:57 +0000 Subject: [PATCH] evas_textblock: fix compilation without harfbuzz Differential Revision: https://phab.enlightenment.org/D9845 --- src/lib/evas/canvas/evas_object_textblock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 90561f4f90..08fad5e92e 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -9728,7 +9728,7 @@ _evas_textblock_cursor_cluster_pos_get(Evas_Textblock_Cursor *cur, Eina_Bool inc free(grapheme_breaks); } - +#ifdef OT_SUPPORT if (is_single_glyph) { 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; } } +#else//#ifdef OT_SUPPORT + (void)is_single_glyph; +#endif//#ifdef OT_SUPPORT } } }