changeset 5553 | 418675ebba17 |
parent 5545 | 978cc06ed5ad |
child 6138 | 4c64952a58fb |
--- a/include/SDL_quit.h Mon Jun 06 12:20:04 2011 -0400 +++ b/include/SDL_quit.h Sun Jun 12 12:23:39 2011 -0400 @@ -53,6 +53,6 @@ /* There are no functions directly affecting the quit event */ #define SDL_QuitRequested() \ - (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT)) + (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0)) #endif /* _SDL_quit_h */