Make SDL_QuitRequested() return an SDL_bool

This commit is contained in:
Sam Lantinga 2011-06-12 12:23:39 -04:00
parent c3ab04563b
commit 94e1b6970f

View file

@ -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 */