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