Fix SDL_RectEquals define

This commit is contained in:
Andreas Schiffler
2011-09-17 22:35:10 -07:00
parent 77acc926f7
commit 0a29e84930

View File

@@ -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))