From d004a68bb4b0e121c5d6df3b8635347f26ec8d2f Mon Sep 17 00:00:00 2001 From: rarified Date: Thu, 9 Sep 2021 17:52:03 -0600 Subject: [PATCH] Never commit before compiling. --- 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 92349444..f69a6045 100644 --- a/Sources/Plasma/PubUtilLib/plGImage/plFont.cpp +++ b/Sources/Plasma/PubUtilLib/plGImage/plFont.cpp @@ -470,7 +470,7 @@ void plFont::IRenderString( plMipmap *mip, UInt16 x, UInt16 y, const wchar_t *st if (fCharacters.Count() <= ((UInt16)string[i] - fFirstChar)) { UInt16 w = wctob(string[0]); if (w != EOF && (w - fFirstChar) <= fCharacters.Count()) - ch = (fCharacters[w - fFirstChar]); + charToDraw = &(fCharacters[w - fFirstChar]); } else { charToDraw = &(fCharacters[(UInt16)string[i] - fFirstChar]); }