evas - code refactoring.

put the frequently used compare prior to the other.
This commit is contained in:
ChunEon Park 2013-11-28 21:24:11 +09:00
parent 523d8607d1
commit c61ce59162
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@
static inline Eina_Bool
_evas_render_has_map(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
{
return ((!((obj->func->can_map) && (obj->func->can_map(eo_obj)))) &&
((obj->map->cur.map) && (obj->map->cur.usemap)));
return (((obj->map->cur.map) && (obj->map->cur.usemap)) &&
!((obj->func->can_map) && (obj->func->can_map(eo_obj))));
// return ((obj->map->cur.map) && (obj->map->cur.usemap));
}