summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schiffler <aschiffler@ferzkopp.net>2011-09-17 22:35:10 -0700
committerAndreas Schiffler <aschiffler@ferzkopp.net>2011-09-17 22:35:10 -0700
commit1b514149ccb43b330ea1a4d968248de0b2644fa7 (patch)
treead3e52cecf3a9392f5e00cbae45091288adaeca8 /include
parentbce90115c2524c5953e7f794d51c37cb695eadc8 (diff)
Fix SDL_RectEquals define
Diffstat (limited to 'include')
-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))