We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20dd464 commit 1015021Copy full SHA for 1015021
src/rcore.c
@@ -273,7 +273,7 @@
273
#define FLAG_SET(n, f) ((n) |= (f))
274
#define FLAG_CLEAR(n, f) ((n) &= ~(f))
275
#define FLAG_TOGGLE(n, f) ((n) ^= (f))
276
-#define FLAG_IS_SET(n, f) (((n) & (f)) > 0)
+#define FLAG_IS_SET(n, f) (((n) & (f)) == (f))
277
278
//----------------------------------------------------------------------------------
279
// Types and Structures Definition
0 commit comments