From 32a6171794f8c0ee1402a11990a7ab11797042c2 Mon Sep 17 00:00:00 2001 From: Andreas Schiffler Date: Sat, 17 Sep 2011 22:35:10 -0700 Subject: [PATCH] Fix SDL_RectEquals define --- include/SDL_rect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_rect.h b/include/SDL_rect.h index a69f94f80..a6576ac4b 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))