From 1318fa2320f571f30ef4800fced9d7fb69c9d586 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 29 Nov 2022 14:17:53 -0500
Subject: [PATCH] Fixed some incorrect strings.
---
src/sdl2_compat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 9e47cbb..7e9d9d9 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -215,7 +215,7 @@ LoadSDL3Symbol(const char *fn, int *okay)
if (*okay) { /* only bother trying if we haven't previously failed. */
retval = LookupSDL3Sym(fn);
if (retval == NULL) {
- sprintf_fn(loaderror, "%s missing in SDL2 library.", fn);
+ sprintf_fn(loaderror, "%s missing in SDL3 library.", fn);
*okay = 0;
}
}
@@ -390,7 +390,7 @@ LoadSDL3(void)
if (!okay) {
sprintf_fn(loaderror, "SDL3 %d.%d.%d library is too old.", v.major, v.minor, v.patch);
} else {
- WantDebugLogging = SDL2Compat_GetHintBoolean("SDL12COMPAT_DEBUG_LOGGING", SDL_FALSE);
+ WantDebugLogging = SDL2Compat_GetHintBoolean("SDL2COMPAT_DEBUG_LOGGING", SDL_FALSE);
if (WantDebugLogging) {
#if defined(__DATE__) && defined(__TIME__)
SDL3_Log("sdl2-compat 2.%d.%d, built on " __DATE__ " at " __TIME__ ", talking to SDL3 %d.%d.%d", SDL2_COMPAT_VERSION_MINOR, SDL2_COMPAT_VERSION_PATCH, v.major, v.minor, v.patch);