diff options
author | Ali Alzyod <ali198724@gmail.com> | 2019-09-05 08:26:57 +0000 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-05 10:33:24 +0200 |
commit | 155f2f98af9f006c9a47f0a2a436b13c1ab78c26 (patch) | |
tree | 7ad3d8e6a077359ab7a5fa541ef15ebcd505fae9 | |
parent | 7a05d8d76997399bb55893d4b456b24e65a223cc (diff) |
evas_textblock: fix compilation without harfbuzz
Differential Revision: https://phab.enlightenment.org/D9845
-rw-r--r-- | src/lib/evas/canvas/evas_object_textblock.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
9728 | 9728 | ||
9729 | free(grapheme_breaks); | 9729 | free(grapheme_breaks); |
9730 | } | 9730 | } |
9731 | 9731 | #ifdef OT_SUPPORT | |
9732 | if (is_single_glyph) | 9732 | if (is_single_glyph) |
9733 | { | 9733 | { |
9734 | Evas_Object_Textblock_Text_Item *ti = _ITEM_TEXT(last_it); | 9734 | 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 | |||
9786 | is_single_glyph = EINA_FALSE; | 9786 | is_single_glyph = EINA_FALSE; |
9787 | } | 9787 | } |
9788 | } | 9788 | } |
9789 | #else//#ifdef OT_SUPPORT | ||
9790 | (void)is_single_glyph; | ||
9791 | #endif//#ifdef OT_SUPPORT | ||
9789 | } | 9792 | } |
9790 | } | 9793 | } |
9791 | } | 9794 | } |