summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2016-01-05 06:56:57 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2016-01-05 06:58:35 +0530
commitf5c4cd2f7f51f739f5f69eb4c857ccbfd8d51b0a (patch)
tree8780446cc9e70de00df454934f93a69167fff60d
parent895008cfaa0e776df6ed62524a45ae361303f106 (diff)
edje: custom state - if RTL flag is not set, return original description
@fix
-rw-r--r--src/lib/edje/edje_calc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index d5163483c5..614688bab7 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -277,6 +277,10 @@ _edje_get_custom_description_by_orientation(Edje *ed, Edje_Part_Description_Comm
277 Edje_Part_Description_Common *ret; 277 Edje_Part_Description_Common *ret;
278 size_t memsize = 0; 278 size_t memsize = 0;
279 279
280 /* RTL flag is not set, return original description */
281 if (!edje_object_mirrored_get(ed->obj))
282 return src;
283
280 if (!(*dst)) 284 if (!(*dst))
281 { 285 {
282 ret = _edje_get_description_by_orientation(ed, src, dst, type); 286 ret = _edje_get_description_by_orientation(ed, src, dst, type);