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.
This commit is contained in:
Jean Guyomarc'h 2016-05-18 22:25:49 +02:00
parent 08d286fdaf
commit cec8a49b51
1 changed files with 4 additions and 2 deletions

View 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