summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index a2d7079fee..6cf26485f9 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -7163,9 +7163,9 @@ evas_textblock_cursor_free(Evas_Textblock_Cursor *cur)
7163EAPI Eina_Bool 7163EAPI Eina_Bool
7164evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur) 7164evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur)
7165{ 7165{
7166 if ((!cur) || (!cur->node)) return EINA_FALSE;
7166 Evas_Object_Protected_Data *obj = eo_data_scope_get(cur->obj, EVAS_OBJECT_CLASS); 7167 Evas_Object_Protected_Data *obj = eo_data_scope_get(cur->obj, EVAS_OBJECT_CLASS);
7167 evas_object_async_block(obj); 7168 evas_object_async_block(obj);
7168 if (!cur || !cur->node) return EINA_FALSE;
7169 return (_evas_textblock_cursor_node_format_at_pos_get(cur)) ? 7169 return (_evas_textblock_cursor_node_format_at_pos_get(cur)) ?
7170 EINA_TRUE : EINA_FALSE; 7170 EINA_TRUE : EINA_FALSE;
7171} 7171}