src/events/SDL_windowevents.c
changeset 5525 e427bb6266a4
parent 5524 b7f53a566ef1
child 5535 96594ac5fd1a
--- 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) {