src/events/SDL_quit.c
changeset 4429 faa9fc8e7f67
parent 3697 f7b03b6838cb
child 5262 b530ef003506
     1.1 --- a/src/events/SDL_quit.c	Wed Mar 10 15:07:20 2010 +0000
     1.2 +++ b/src/events/SDL_quit.c	Thu Mar 25 01:08:26 2010 -0700
     1.3 @@ -85,7 +85,7 @@
     1.4      int posted;
     1.5  
     1.6      posted = 0;
     1.7 -    if (SDL_ProcessEvents[SDL_QUIT] == SDL_ENABLE) {
     1.8 +    if (SDL_GetEventState(SDL_QUIT) == SDL_ENABLE) {
     1.9          SDL_Event event;
    1.10          event.type = SDL_QUIT;
    1.11          posted = (SDL_PushEvent(&event) > 0);