fix evry comparison macro to work as expected
missing parens = !operating as intended in many cases
This commit is contained in:
parent
5f5786ab50
commit
ad39ca0425
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue