discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=d8505f29788576e0f3792539617273cbc753256a
commit d8505f29788576e0f3792539617273cbc753256a Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Tue Apr 14 20:43:44 2015 -0400 fix evry comparison macro to work as expected missing parens = !operating as intended in many cases --- src/modules/everything/evry_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/everything/evry_api.h b/src/modules/everything/evry_api.h index e484487..27997f9 100644 --- a/src/modules/everything/evry_api.h +++ b/src/modules/everything/evry_api.h @@ -188,10 +188,10 @@ struct _Evry_Event_Action_Performed eina_stringshare_replace(&(EVRY_ITEM(_it)->icon), _icon); #define CHECK_TYPE(_item, _type) \ - ((Evry_Item *)_item)->type == _type + (((Evry_Item *)_item)->type == _type) #define CHECK_SUBTYPE(_item, _type) \ - ((Evry_Item *)_item)->subtype == _type + (((Evry_Item *)_item)->subtype == _type) #define IS_BROWSEABLE(_item) ((Evry_Item *)_item)->browseable --