summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-11-28 21:24:11 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-11-28 21:24:11 +0900
commitc61ce59162cb5fa995f98ef00d925859610efd89 (patch)
treed4c7fb8d370a327fa808e8a8333f9a7bf90a7b50 /src/lib/evas/include
parent523d8607d19eff04c5f820334955c4999ceb250b (diff)
evas - code refactoring.
put the frequently used compare prior to the other.
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_inline.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index 0b8e96e79e..c4e102d372 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -4,8 +4,8 @@
4static inline Eina_Bool 4static inline Eina_Bool
5_evas_render_has_map(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj) 5_evas_render_has_map(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
6{ 6{
7 return ((!((obj->func->can_map) && (obj->func->can_map(eo_obj)))) && 7 return (((obj->map->cur.map) && (obj->map->cur.usemap)) &&
8 ((obj->map->cur.map) && (obj->map->cur.usemap))); 8 !((obj->func->can_map) && (obj->func->can_map(eo_obj))));
9 // return ((obj->map->cur.map) && (obj->map->cur.usemap)); 9 // return ((obj->map->cur.map) && (obj->map->cur.usemap));
10} 10}
11 11