Fixed compile error.
authorSam Lantinga <slouken@libsdl.org>
Tue, 29 Mar 2011 03:05:26 -0700
changeset 5525 e427bb6266a4
parent 5524 b7f53a566ef1
child 5526 5645b3a5dc03
Fixed compile error.
src/events/SDL_windowevents.c
--- a/src/events/SDL_windowevents.c	Mon Mar 28 23:44:51 2011 -0700
+++ b/src/events/SDL_windowevents.c	Tue Mar 29 03:05:26 2011 -0700
@@ -171,7 +171,7 @@
 
         /* Fixes queue overflow with resize events that aren't processed */
         if (windowevent == SDL_WINDOWEVENT_RESIZED ||
-            windowevent == SDL_WINDOWEVENT_SIZE_CHANGED) &&
+            windowevent == SDL_WINDOWEVENT_SIZE_CHANGED) {
             SDL_FilterEvents(RemovePendingSizeEvents, &event);
         }
         if (windowevent == SDL_WINDOWEVENT_MOVED) {