Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Make SDL_QuitRequested() return an SDL_bool
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 12, 2011
1 parent ba09f99 commit 1049c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_quit.h
Expand Up @@ -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 */

0 comments on commit 1049c3b

Please sign in to comment.