Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix SDL_RectEquals define

  • Loading branch information
ferzkopp committed Sep 18, 2011
1 parent cc9056b commit 32a6171794f8c0ee1402a11990a7ab11797042c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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))

0 comments on commit 32a6171

Please sign in to comment.