From 786a9bfa6efdbee720aad43349adf4279b2eca2d Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Tue, 10 Jan 2023 11:57:59 +0100
Subject: [PATCH] Remove un-needed padding
---
SDL_ttf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/SDL_ttf.c b/SDL_ttf.c
index eda4bbc..73cfa69 100644
--- a/SDL_ttf.c
+++ b/SDL_ttf.c
@@ -1396,7 +1396,6 @@ static SDL_Surface *AllocateAlignedPixels(size_t width, size_t height, SDL_Pixel
height > SDL_MAX_SINT32 ||
SDL_size_add_overflow(width, alignment, &pitch) ||
SDL_size_mul_overflow(pitch, bytes_per_pixel, &pitch) ||
- SDL_size_add_overflow(pitch, alignment, &pitch) ||
pitch > SDL_MAX_SINT32) {
return NULL;
}