Fix SDL_RectEquals define

This commit is contained in:
Andreas Schiffler 2011-09-17 22:35:10 -07:00
parent 9d8f2b6917
commit 6c74730331

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