hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c61ce59162cb5fa995f98ef00d925859610efd89

commit c61ce59162cb5fa995f98ef00d925859610efd89
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Thu Nov 28 21:24:11 2013 +0900

    evas - code refactoring.
    
    put the frequently used compare prior to the other.
---
 src/lib/evas/include/evas_inline.x | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/include/evas_inline.x 
b/src/lib/evas/include/evas_inline.x
index 0b8e96e..c4e102d 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -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));
 }
 

-- 


Reply via email to