summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2019-10-29 09:37:56 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-29 10:19:43 -0400
commit8536c066eb59a42279922bb3d87a4753aab22ad9 (patch)
treefa07c98cb7980f41ace78447834ef392736160c3 /src/lib/edje/edje_calc.c
parentc4621408843b45e5b5d7b76c584212d3d5e224ae (diff)
edje_calc: Delete duplicated conditional statement.
Summary: this is identical to the conditional above and can be merged to improve code clarity Reviewers: raster, Hermet, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10549
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 091a27e3ad..0c383f5847 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -4036,12 +4036,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
4036 ted = _edje_fetch(ep->typedata.swallow->swallowed_object); 4036 ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
4037 _edje_recalc_do(ted); 4037 _edje_recalc_do(ted);
4038 } 4038 }
4039 } 4039
4040 if (ep->part->type == EDJE_PART_TYPE_GROUP &&
4041 ((ep->type == EDJE_RP_TYPE_SWALLOW) &&
4042 (ep->typedata.swallow)) &&
4043 ep->typedata.swallow->swallowed_object)
4044 {
4045 Edje_Size *min = NULL, *max = NULL; 4040 Edje_Size *min = NULL, *max = NULL;
4046 4041
4047 if (ep->chosen_description) 4042 if (ep->chosen_description)