From 2b77b2e4ef02118916c76a3862683798479c4110 Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Sun, 8 Sep 2024 04:18:26 +0000
Subject: [PATCH] Sync SDL3 wiki -> header
---
include/SDL3/SDL_haptic.h | 4 ++--
include/SDL3/SDL_sensor.h | 6 +++---
include/SDL3/SDL_video.h | 20 ++++++++++----------
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/include/SDL3/SDL_haptic.h b/include/SDL3/SDL_haptic.h
index dfd2a699a0086..4cab4217dcb38 100644
--- a/include/SDL3/SDL_haptic.h
+++ b/include/SDL3/SDL_haptic.h
@@ -141,11 +141,11 @@ extern "C" {
/**
* The haptic structure used to identify an SDL haptic.
*
+ * \since This struct is available since SDL 3.0.0.
+ *
* \sa SDL_OpenHaptic
* \sa SDL_OpenHapticFromJoystick
* \sa SDL_CloseHaptic
- *
- * \since This struct is available since SDL 3.0.0.
*/
typedef struct SDL_Haptic SDL_Haptic;
diff --git a/include/SDL3/SDL_sensor.h b/include/SDL3/SDL_sensor.h
index 1500f23e29212..a0dfb8d886cd7 100644
--- a/include/SDL3/SDL_sensor.h
+++ b/include/SDL3/SDL_sensor.h
@@ -24,9 +24,9 @@
*
* SDL sensor management.
*
- * In order to use these functions, SDL_Init() must have been called
- * with the SDL_INIT_SENSOR flag. This causes SDL to scan the system
- * for sensors, and load appropriate drivers.
+ * In order to use these functions, SDL_Init() must have been called with the
+ * SDL_INIT_SENSOR flag. This causes SDL to scan the system for sensors, and
+ * load appropriate drivers.
*/
#ifndef SDL_sensor_h_
diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h
index 33d784af9e75f..b865e7375565d 100644
--- a/include/SDL3/SDL_video.h
+++ b/include/SDL3/SDL_video.h
@@ -2220,21 +2220,21 @@ extern SDL_DECLSPEC float SDLCALL SDL_GetWindowOpacity(SDL_Window *window);
/**
* Set the window as a child of a parent window.
*
- * If the window is already the child of an existing window, it will be reparented
- * to the new owner. Setting the parent window to null unparents the window and
- * removes child window status.
+ * If the window is already the child of an existing window, it will be
+ * reparented to the new owner. Setting the parent window to null unparents
+ * the window and removes child window status.
*
- * Attempting to set the parent of a window that is currently in the modal state will fail.
- * Use SDL_SetWindowModalFor() to cancel the modal status before attempting to change
- * the parent.
+ * Attempting to set the parent of a window that is currently in the modal
+ * state will fail. Use SDL_SetWindowModalFor() to cancel the modal status
+ * before attempting to change the parent.
*
- * Setting a parent window that is currently the sibling or descendent of the child
- * window results in undefined behavior.
+ * Setting a parent window that is currently the sibling or descendent of the
+ * child window results in undefined behavior.
*
* \param window the window that should become the child of a parent.
* \param parent the new parent window for the child window.
- * \returns SDL_TRUE on success or SDL_FALSE on failure; call
- * SDL_GetError() for more information.
+ * \returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError()
+ * for more information.
*
* \since This function is available since SDL 3.0.0.
*