src/events/SDL_windowevents.c
branchSDL-1.3
changeset 1731 875c3cf1a12c
parent 1724 6c63fc2bd986
child 1733 0b1070f2f94d
     1.1 --- a/src/events/SDL_windowevents.c	Sat Jul 08 18:06:02 2006 +0000
     1.2 +++ b/src/events/SDL_windowevents.c	Sat Jul 08 20:07:08 2006 +0000
     1.3 @@ -114,11 +114,7 @@
     1.4          event.window.data1 = data1;
     1.5          event.window.data2 = data2;
     1.6          event.window.windowID = windowID;
     1.7 -        if ((SDL_EventOK == NULL)
     1.8 -            || (*SDL_EventOK) (SDL_EventOKParam, &event)) {
     1.9 -            posted = 1;
    1.10 -            SDL_PushEvent(&event);
    1.11 -        }
    1.12 +        posted = (SDL_PushEvent(&event) > 0);
    1.13      }
    1.14      return (posted);
    1.15  }