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:
523d860
)
evas - code refactoring.
author
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 28 Nov 2013 12:24:11 +0000
(21:24 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 28 Nov 2013 12:24:11 +0000
(21:24 +0900)
put the frequently used compare prior to the other.
src/lib/evas/include/evas_inline.x
patch
|
blob
|
history
diff --git
a/src/lib/evas/include/evas_inline.x
b/src/lib/evas/include/evas_inline.x
index
0b8e96e
..
c4e102d
100644
(file)
--- 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));
}