edje: fix condition scope
authorJean Guyomarc'h <jean@guyomarch.bzh>
Wed, 18 May 2016 20:25:49 +0000 (22:25 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Wed, 18 May 2016 20:29:59 +0000 (22:29 +0200)
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

index 44fa75a..e12d9c9 100644 (file)
@@ -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