summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2019-08-07 14:54:45 +0100
committerTom Hacohen <tom@stosb.com>2019-08-07 15:01:22 +0100
commit84e06f7234335836d175cb1583aa91f183b98803 (patch)
treebfdd97c41455694d4e0b7fd16c9e7192dcdba395 /src/lib/evas/canvas/evas_object_textblock.c
parentd11551050d74b0a6d832e65ebf8561031828158d (diff)
Evas: migrate Evas_BiDi_Direction -> Efl_Text_Bidirectional_Type.
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 1135527..e069e04 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -15244,11 +15244,11 @@ _efl_canvas_text_efl_canvas_object_paragraph_direction_set(Eo *eo_obj,
15244#ifdef BIDI_SUPPORT 15244#ifdef BIDI_SUPPORT
15245 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); 15245 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
15246 15246
15247 if ((!(o->inherit_paragraph_direction) && (o->paragraph_direction == (Evas_BiDi_Direction)dir)) || 15247 if ((!(o->inherit_paragraph_direction) && (o->paragraph_direction == dir)) ||
15248 (o->inherit_paragraph_direction && ((Evas_BiDi_Direction)dir == EVAS_BIDI_DIRECTION_INHERIT))) 15248 (o->inherit_paragraph_direction && (dir == EVAS_BIDI_DIRECTION_INHERIT)))
15249 return; 15249 return;
15250 15250
15251 if (dir == (Efl_Text_Bidirectional_Type)EVAS_BIDI_DIRECTION_INHERIT) 15251 if (dir == EVAS_BIDI_DIRECTION_INHERIT)
15252 { 15252 {
15253 o->inherit_paragraph_direction = EINA_TRUE; 15253 o->inherit_paragraph_direction = EINA_TRUE;
15254 Evas_BiDi_Direction parent_dir = EVAS_BIDI_DIRECTION_NEUTRAL; 15254 Evas_BiDi_Direction parent_dir = EVAS_BIDI_DIRECTION_NEUTRAL;