From a00d1b33041ed8c1f2f5e2ae57544823790a1f7e Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 28 Feb 2023 17:33:10 +0300
Subject: [PATCH] minor typo fixes
---
SDL_ttf.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/SDL_ttf.c b/SDL_ttf.c
index ec9fa9f..b9ceb60 100644
--- a/SDL_ttf.c
+++ b/SDL_ttf.c
@@ -1431,14 +1431,11 @@ static SDL_Surface *AllocateAlignedPixels(size_t width, size_t height, SDL_Pixel
* ==
* ((width + alignment) * bytes_per_pixel ) & ~alignment
*
- * which is different than:
- * ((width + alignment) & ~alignment)) * bytes_per_pixel (which fails)
+ * which is different from:
+ * ((width + alignment) & ~alignment)) * bytes_per_pixel (which fails.)
*
- *
- *
- * Remark: to test memory issue, it is usefull to patch SDL to use real memalign/free
+ * Remark: to test memory issues, it is useful to patch SDL to use real memalign/free
* so that valgrind check more precisely out of bounds.
- *
*/
if (width > SDL_MAX_SINT32 ||
height > SDL_MAX_SINT32 ||