From f4d74def53ad8aecb04b2f02e19e89b2f156dce4 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 18 Sep 2024 08:48:47 +0200 Subject: [PATCH] paramater -> parameter --- docs/README-migration.md | 4 ++-- src/video/wayland/SDL_waylandwindow.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/README-migration.md b/docs/README-migration.md index ed52ec01c3..43aa25eaab 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -1827,9 +1827,9 @@ But if you're migrating your code which uses masks, you probably have a format i SDL_BlitSurface() and SDL_BlitSurfaceScaled() now have a const `dstrect` parameter and do not fill it in with the final destination rectangle. -SDL_BlitSurfaceScaled() and SDL_BlitSurfaceUncheckedScaled() now take a scale paramater. +SDL_BlitSurfaceScaled() and SDL_BlitSurfaceUncheckedScaled() now take a scale parameter. -SDL_SoftStretch() now takes a scale paramater. +SDL_SoftStretch() now takes a scale parameter. SDL_PixelFormat is used instead of Uint32 for API functions that refer to pixel format by enumerated value. diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c index e8bcc7c5eb..81bc563d48 100644 --- a/src/video/wayland/SDL_waylandwindow.c +++ b/src/video/wayland/SDL_waylandwindow.c @@ -617,7 +617,7 @@ static void UpdateWindowFullscreen(SDL_Window *window, bool fullscreen) SDL_UpdateFullscreenMode(window, SDL_FULLSCREEN_OP_ENTER, false); /* Set the output for exclusive fullscreen windows when entering fullscreen from a - * compositor event, or if the fullscreen paramaters were changed between the initial + * compositor event, or if the fullscreen parameters were changed between the initial * fullscreen request and now, to ensure that the window is on the correct output, * as requested by the client. */