summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/SDL_rect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_rect.h b/include/SDL_rect.h
index a69f94f8..a6576ac4 100644
--- a/include/SDL_rect.h
+++ b/include/SDL_rect.h
@@ -76,7 +76,7 @@ typedef struct SDL_Rect
/**
* \brief Returns true if the two rectangles are equal.
*/
-#define SDL_RectEquals(A, B) (((A) && ((B)) && \
+#define SDL_RectEquals(A, B) (((A)) && ((B)) && \
((A)->x == (B)->x) && ((A)->y == (B)->y) && \
((A)->w == (B)->w) && ((A)->h == (B)->h))