Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot 2025-04-25 23:31:01 +00:00
parent 22692e308f
commit 34fe967f3e
1 changed files with 6 additions and 6 deletions

View File

@ -1578,12 +1578,12 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetWindowFromEvent(const SDL_Event
* The exact format of the string is not guaranteed; it is intended for * The exact format of the string is not guaranteed; it is intended for
* logging purposes, to be read by a human, and not parsed by a computer. * logging purposes, to be read by a human, and not parsed by a computer.
* *
* The returned value follows the same rules as SDL_snprintf(): `buf` * The returned value follows the same rules as SDL_snprintf(): `buf` will
* will always be NULL-terminated (unless `buflen` is zero), and will be * always be NULL-terminated (unless `buflen` is zero), and will be truncated
* truncated if `buflen` is too small. The return code is the number of bytes * if `buflen` is too small. The return code is the number of bytes needed for
* needed for the complete string, not counting the NULL-terminator, whether * the complete string, not counting the NULL-terminator, whether the string
* the string was truncated or not. Unlike SDL_snprintf(), though, this * was truncated or not. Unlike SDL_snprintf(), though, this function never
* function never returns -1. * returns -1.
* *
* \param event an event to describe. May be NULL. * \param event an event to describe. May be NULL.
* \param buf the buffer to fill with the description string. May be NULL. * \param buf the buffer to fill with the description string. May be NULL.