Fixup BIND_PRESSED

This commit is contained in:
twinaphex 2014-10-03 16:55:01 +02:00
parent 32446917d5
commit e306553cea

View File

@ -121,6 +121,6 @@ typedef struct
#define BIT_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31)))
#define BIT_CLEAR_ALL(a) memset(&(a), 0, sizeof(a));
#define BIND_PRESSED(a, bit) (((a) & (1ULL << ((bit)))) == 1)
#define BIND_PRESSED(a, bit) (((a) & (1ULL << ((bit)))) != 0)
#endif