From fd1e9657749759366b580c7cfd86c8857d673d40 Mon Sep 17 00:00:00 2001 From: rarified Date: Thu, 9 Sep 2021 17:33:51 -0600 Subject: [PATCH] Fix misspelt fFirstChar --- Sources/Plasma/PubUtilLib/plGImage/plFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/PubUtilLib/plGImage/plFont.cpp b/Sources/Plasma/PubUtilLib/plGImage/plFont.cpp index 30f86d2b..518450d3 100644 --- a/Sources/Plasma/PubUtilLib/plGImage/plFont.cpp +++ b/Sources/Plasma/PubUtilLib/plGImage/plFont.cpp @@ -464,7 +464,7 @@ void plFont::IRenderString( plMipmap *mip, UInt16 x, UInt16 y, const wchar_t *st } // handle invalid chars discretely - plCharacter* charToDraw = &(fCharacters[(UInt16)L' ' - fFirstchar]); + plCharacter* charToDraw = &(fCharacters[(UInt16)L' ' - fFirstChar]); if (fCharacters.Count() <= ((UInt16)string[i] - fFirstChar)) { if (wctob(string[i]) != EOF) charToDraw = &(fCharacters[(UInt16)wctob(string[i]) - fFirstChar]);