Make SDL_QuitRequested() return an SDL_bool

This commit is contained in:
Sam Lantinga
2011-06-12 12:23:39 -04:00
parent a74c9aa88d
commit 2b4bb0d58b

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