edje: fix the map state issue.
authorHermet Park <hermet@hermet.pe.kr>
Fri, 8 Jul 2016 12:16:16 +0000 (21:16 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Fri, 8 Jul 2016 12:22:44 +0000 (21:22 +0900)
commit9873358f68a7dd942fbc5fe64ae8da2b4d980331
tree13cde697de75db4ad324a508c7b9540806355128
parent25c63f726e3ee9f01eefa8e1d8dd57d6582ae7ec
edje: fix the map state issue.

While the part state switching, map won't gonna be disabled again,
due to the incorrect state checking.

If there param1 indicates the current state with map off.
then it should disable the map obviously.
But It assumed the param1 is the previous state, not the current!,
so the map didn't go disabled state.

It was intended to avoid the duplicated map state setting.
So to keeping the intention, now it disable the map, only if
the map is actually enabled.

So both are fine.

@fix
src/lib/edje/edje_calc.c