Fix SDL_RectEquals define
authorAndreas Schiffler <aschiffler@ferzkopp.net>
Sat, 17 Sep 2011 22:35:10 -0700
changeset 5949 b2668bd8c9dc
parent 5948 05e6bfac079f
child 5950 36fa6d12784b
Fix SDL_RectEquals define
include/SDL_rect.h
--- a/include/SDL_rect.h	Fri Sep 16 08:26:20 2011 -0700
+++ b/include/SDL_rect.h	Sat Sep 17 22:35:10 2011 -0700
@@ -76,7 +76,7 @@
 /**
  *  \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))