From 8c66fe5f10628501522f2a0087d29e40325fe638 Mon Sep 17 00:00:00 2001
From: Starbuck5 <[EMAIL REDACTED]>
Date: Sun, 19 Jun 2022 23:38:01 -0700
Subject: [PATCH] Minor typo fixes
---
IMG_gif.c | 4 ++--
IMG_lbm.c | 4 ++--
cmake/test/CMakeLists.txt | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/IMG_gif.c b/IMG_gif.c
index 622c59de..a92f3767 100644
--- a/IMG_gif.c
+++ b/IMG_gif.c
@@ -277,7 +277,7 @@ IMG_LoadGIF_RW_Internal(SDL_RWops *src, SDL_bool load_anim)
}
if (c == '!') { /* Extension */
if (!ReadOK(src, &c, 1)) {
- RWSetMsg("EOF / read error on extention function code");
+ RWSetMsg("EOF / read error on extension function code");
goto done;
}
DoExtension(src, c, state);
@@ -559,7 +559,7 @@ LWZReadByte(SDL_RWops *src, int flag, int input_code_size, State_t * state)
if (count != 0) {
/*
- * pm_message("missing EOD in data stream (common occurence)");
+ * pm_message("missing EOD in data stream (common occurrence)");
*/
}
return -2;
diff --git a/IMG_lbm.c b/IMG_lbm.c
index 78b55434..9bf3a743 100644
--- a/IMG_lbm.c
+++ b/IMG_lbm.c
@@ -224,7 +224,7 @@ SDL_Surface *IMG_LoadLBM_RW( SDL_RWops *src )
}
}
- /* compute some usefull values, based on the bitmap header */
+ /* compute some useful values, based on the bitmap header */
width = ( bmhd.w + 15 ) & 0xFFFFFFF0; /* Width in pixels modulo 16 */
@@ -256,7 +256,7 @@ SDL_Surface *IMG_LoadLBM_RW( SDL_RWops *src )
if ( bmhd.mask & 2 ) /* There is a transparent color */
SDL_SetColorKey( Image, SDL_TRUE, bmhd.tcolor );
- /* Update palette informations */
+ /* Update palette information */
/* There is no palette in 24 bits ILBM file */
if ( nbcolors>0 && flagHAM==0 )
diff --git a/cmake/test/CMakeLists.txt b/cmake/test/CMakeLists.txt
index 064d997d..1bbeb4c8 100644
--- a/cmake/test/CMakeLists.txt
+++ b/cmake/test/CMakeLists.txt
@@ -13,7 +13,7 @@ include(FeatureSummary)
option(TEST_SHARED "Test linking to shared SDL2_image library" ON)
add_feature_info("TEST_SHARED" TEST_SHARED "Test linking with shared library")
-option(TEST_STATIC "Test linking to static SDL2_image libary" ON)
+option(TEST_STATIC "Test linking to static SDL2_image library" ON)
add_feature_info("TEST_STATIC" TEST_STATIC "Test linking with static library")
if(TEST_SHARED)