projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d286f
)
edje: fix condition scope
author
Jean Guyomarc'h
<jean@guyomarch.bzh>
Wed, 18 May 2016 20:25:49 +0000
(22:25 +0200)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_calc.c
b/src/lib/edje/edje_calc.c
index
44fa75a
..
e12d9c9
100644
(file)
--- 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