Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix SDL_RectEquals define
Browse files Browse the repository at this point in the history
  • Loading branch information
ferzkopp committed Sep 18, 2011
1 parent cc9056b commit 32a6171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_rect.h
Expand Up @@ -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))

Expand Down

0 comments on commit 32a6171

Please sign in to comment.