Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Make SDL_QuitRequested() return an SDL_bool

  • Loading branch information
slouken committed Jun 12, 2011
1 parent ba09f99 commit 1049c3b0311d1d20eebebc0535ed5b37fc6c6e3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/SDL_quit.h
@@ -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.