From e5f2cea234946cfcb1f4819e9e700583ac375c4e Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 4 Nov 2023 22:18:38 -0400
Subject: [PATCH] Sync wiki -> headers
---
include/SDL3/SDL_events.h | 9 ++++-----
include/SDL3/SDL_rwops.h | 9 ++++++---
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h
index 2afa92f3e58d..ef847078aac5 100644
--- a/include/SDL3/SDL_events.h
+++ b/include/SDL3/SDL_events.h
@@ -911,11 +911,10 @@ extern DECLSPEC SDL_bool SDLCALL SDL_WaitEventTimeout(SDL_Event *event, Sint32 t
/**
* Clean up dynamically allocated memory for an event.
*
- * Some events have dynamically allocated data that must be cleaned up when the event is processed. If you handle any of these events, you should call SDL_CleanupEvent() after processing them:
- * SDL_EVENT_DROP_FILE
- * SDL_EVENT_DROP_TEXT
- * SDL_EVENT_SYSWM
- * SDL_EVENT_TEXT_EDITING
+ * Some events have dynamically allocated data that must be cleaned up when
+ * the event is processed. If you handle any of these events, you should call
+ * SDL_CleanupEvent() after processing them: SDL_EVENT_DROP_FILE
+ * SDL_EVENT_DROP_TEXT SDL_EVENT_SYSWM SDL_EVENT_TEXT_EDITING
*
* It is safe, but not necessary, to call this function for other event types.
*
diff --git a/include/SDL3/SDL_rwops.h b/include/SDL3/SDL_rwops.h
index 8ecd75f1d684..73e655796365 100644
--- a/include/SDL3/SDL_rwops.h
+++ b/include/SDL3/SDL_rwops.h
@@ -503,8 +503,10 @@ extern DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context, const void *ptr,
*
* \param context a pointer to an SDL_RWops structure
* \param fmt a printf() style format string
- * \param ... additional parameters matching % tokens in the `fmt` string, if any
- * \returns the number of bytes written, or 0 on error; call SDL_GetError() for more information.
+ * \param ... additional parameters matching % tokens in the `fmt` string, if
+ * any
+ * \returns the number of bytes written, or 0 on error; call SDL_GetError()
+ * for more information.
*
* \since This function is available since SDL 3.0.0.
*
@@ -526,7 +528,8 @@ extern DECLSPEC size_t SDLCALL SDL_RWprintf(SDL_RWops *context, SDL_PRINTF_FORMA
* \param context a pointer to an SDL_RWops structure
* \param fmt a printf() style format string
* \param ap a variable argument list
- * \returns the number of bytes written, or 0 on error; call SDL_GetError() for more information.
+ * \returns the number of bytes written, or 0 on error; call SDL_GetError()
+ * for more information.
*
* \since This function is available since SDL 3.0.0.
*