Jelajahi Sumber

Update comment in `SDL_UserEvent` for member `type`

Petar Popovic 1 bulan lalu
induk
melakukan
201ad7f79b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      include/SDL3/SDL_events.h

+ 1 - 1
include/SDL3/SDL_events.h

@@ -992,7 +992,7 @@ typedef struct SDL_QuitEvent
  */
  */
 typedef struct SDL_UserEvent
 typedef struct SDL_UserEvent
 {
 {
-    Uint32 type;        /**< SDL_EVENT_USER through SDL_EVENT_LAST-1, Uint32 because these are not in the SDL_EventType enumeration */
+    Uint32 type;        /**< SDL_EVENT_USER through SDL_EVENT_LAST, Uint32 because these are not in the SDL_EventType enumeration */
     Uint32 reserved;
     Uint32 reserved;
     Uint64 timestamp;   /**< In nanoseconds, populated using SDL_GetTicksNS() */
     Uint64 timestamp;   /**< In nanoseconds, populated using SDL_GetTicksNS() */
     SDL_WindowID windowID; /**< The associated window if any */
     SDL_WindowID windowID; /**< The associated window if any */