diff --git a/sc2/src/libs/graphics/sdl/sdl_common.c b/sc2/src/libs/graphics/sdl/sdl_common.c index 423fe0c47..5316bd7e0 100644 --- a/sc2/src/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/libs/graphics/sdl/sdl_common.c @@ -186,7 +186,7 @@ TFB_ProcessEvents () { SDL_Event Event; - while (SDL_PollEvent (&Event) > 0) + while (SDL_PollEvent (&Event)) { /* Run through the InputEvent filter. */ ProcessInputEvent (&Event);