summaryrefslogtreecommitdiff
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
parentc4621408843b45e5b5d7b76c584212d3d5e224ae (diff)
downloadefl-8536c066eb59a42279922bb3d87a4753aab22ad9.tar.gz
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
-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
ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
_edje_recalc_do(ted);
}
- }
- if (ep->part->type == EDJE_PART_TYPE_GROUP &&
- ((ep->type == EDJE_RP_TYPE_SWALLOW) &&
- (ep->typedata.swallow)) &&
- ep->typedata.swallow->swallowed_object)
- {
+
Edje_Size *min = NULL, *max = NULL;
if (ep->chosen_description)