Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_object.h
Log Message:
- add bracketing
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_object.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_object.h 5 Mar 2007 22:50:16 -0000 1.20
+++ ewl_object.h 5 Mar 2007 23:12:22 -0000 1.21
@@ -203,7 +203,7 @@
* @brief Determines if an object has all of the requested @a flags set.
*/
#define ewl_object_flags_has_all(o, check_flags, mask) \
- ((EWL_OBJECT(o)->flags & (check_flags & mask)) == (check_flags & mask))
+ ((EWL_OBJECT(o)->flags & ((check_flags) & mask)) == ((check_flags) &
mask))
/**
* @def ewl_object_recursive_set(o)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs