From d028d8bc3b2ec7dcb439f9cde22634c6ff7388ca Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Wed, 17 Dec 2025 12:56:04 -0500 Subject: [PATCH] Fix minor typos in headers. --- include/SDL3/SDL_keycode.h | 2 +- include/SDL3/SDL_mouse.h | 2 +- include/SDL3/SDL_surface.h | 2 +- include/SDL3/SDL_video.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/SDL3/SDL_keycode.h b/include/SDL3/SDL_keycode.h index 43c7a522c2..c43660eefe 100644 --- a/include/SDL3/SDL_keycode.h +++ b/include/SDL3/SDL_keycode.h @@ -48,7 +48,7 @@ * by default to SDLK_0...SDLK_9 on AZERTY layouts. * * Keys with the `SDLK_EXTENDED_MASK` bit set do not map to a scancode or - * unicode code point. + * Unicode code point. * * Many common keycodes are listed below, but this list is not exhaustive. * diff --git a/include/SDL3/SDL_mouse.h b/include/SDL3/SDL_mouse.h index 89f49dfb7d..d502005a74 100644 --- a/include/SDL3/SDL_mouse.h +++ b/include/SDL3/SDL_mouse.h @@ -731,7 +731,7 @@ extern SDL_DECLSPEC SDL_Cursor * SDLCALL SDL_GetCursor(void); * You do not have to call SDL_DestroyCursor() on the return value, but it is * safe to do so. * - * \returns the default cursor on success or NULL on failuree; call + * \returns the default cursor on success or NULL on failure; call * SDL_GetError() for more information. * * \threadsafety This function should only be called on the main thread. diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index 852f477137..717aeb89a9 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -1255,7 +1255,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PremultiplySurfaceAlpha(SDL_Surface *surfac * This function handles all surface formats, and ignores any clip rectangle. * * If the surface is YUV, the color is assumed to be in the sRGB colorspace, - * otherwise the color is assumed to be in the colorspace of the suface. + * otherwise the color is assumed to be in the colorspace of the surface. * * \param surface the SDL_Surface to clear. * \param r the red component of the pixel, normally in the range 0-1. diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index 2d08c9d1f7..31dac5f7a3 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -1881,7 +1881,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetWindowSize(SDL_Window *window, int *w, i * notches, TV overscan, etc. This function provides the area of the window * which is safe to have interactable content. You should continue rendering * into the rest of the window, but it should not contain visually important - * or interactible content. + * or interactable content. * * \param window the window to query. * \param rect a pointer filled in with the client area that is safe for