From 70eb97d6b63e5edd7a4d062a14fe775422ba439c Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 18 Sep 2024 08:36:17 +0200 Subject: [PATCH] contraints -> constraints --- src/video/SDL_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 8597e0511a..c215806e4e 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -2896,8 +2896,8 @@ SDL_bool SDL_SetWindowSize(SDL_Window *window, int w, int h) return SDL_InvalidParamError("h"); } - // It is possible for the aspect ratio contraints to not satisfy the size constraints. - // The size constraints will override the aspect ratio contraints so we will apply the + // It is possible for the aspect ratio constraints to not satisfy the size constraints. + // The size constraints will override the aspect ratio constraints so we will apply the // the aspect ratio constraints first float new_aspect = w / (float)h; if (window->max_aspect > 0.0f && new_aspect > window->max_aspect) {