include/SDL_events.h
changeset 7278 fc8b57a2a541
parent 7203 c74f5dbcfd23
child 7303 70f0438bf50d
     1.1 --- a/include/SDL_events.h	Wed Jun 05 12:48:44 2013 -0700
     1.2 +++ b/include/SDL_events.h	Wed Jun 05 23:33:15 2013 +0200
     1.3 @@ -462,7 +462,7 @@
     1.4   */
     1.5  typedef struct SDL_UserEvent
     1.6  {
     1.7 -    Uint32 type;        /**< ::SDL_USEREVENT through ::SDL_NUMEVENTS-1 */
     1.8 +    Uint32 type;        /**< ::SDL_USEREVENT through ::SDL_LASTEVENT-1 */
     1.9      Uint32 timestamp;
    1.10      Uint32 windowID;    /**< The associated window if any */
    1.11      Sint32 code;        /**< User defined event code */
    1.12 @@ -642,7 +642,7 @@
    1.13   *  \warning  Be very careful of what you do in the event filter function, as
    1.14   *            it may run in a different thread!
    1.15   *
    1.16 - *  There is one caveat when dealing with the ::SDL_QUITEVENT event type.  The
    1.17 + *  There is one caveat when dealing with the ::SDL_QuitEvent event type.  The
    1.18   *  event filter is only called when the window manager desires to close the
    1.19   *  application window.  If the event filter returns 1, then the window will
    1.20   *  be closed, otherwise the window will remain open if possible.