From cec8a49b51b13670e5adaeb44940f3bece106fb4 Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Wed, 18 May 2016 22:25:49 +0200 Subject: [PATCH] edje: fix condition scope Commit 3faf3f3fc converted an eo_do() into two functions. However the eo_do() was implicitely enclosed within an if, which after conversion led to the if coverting only one of these functions instead of both. Pointed out by GCC's -Wmisleading-indentation. --- src/lib/edje/edje_calc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index 44fa75a..e12d9c9 100644 --- a/src/lib/edje/edje_calc.c +++ b/src/lib/edje/edje_calc.c @@ -4953,8 +4953,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta { #endif if (mo) - evas_obj_map_enable_set(mo, 0); - evas_obj_map_set(mo, NULL); + { + evas_obj_map_enable_set(mo, 0); + evas_obj_map_set(mo, NULL); + } #ifdef HAVE_EPHYSICS } #endif -- 2.7.4