From ca8897028fc7d30165557dc74e462396f894d237 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 20 Oct 2022 19:06:07 +0200 Subject: [PATCH] - stupid typo... --- src/common/fonts/v_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fonts/v_font.cpp b/src/common/fonts/v_font.cpp index 3c9823abe..dd3e47648 100644 --- a/src/common/fonts/v_font.cpp +++ b/src/common/fonts/v_font.cpp @@ -92,7 +92,7 @@ TArray TranslationColors; FFont *V_GetFont(const char *name, const char *fontlumpname) { - if (name != nullptr) return nullptr; + if (name == nullptr) return nullptr; if (!stricmp(name, "DBIGFONT")) name = "BigFont"; else if (!stricmp(name, "CONFONT")) name = "ConsoleFont"; // several mods have used the name CONFONT directly and effectively duplicated the font. else if (!stricmp(name, "INDEXFON")) name = "IndexFont"; // Same here - for whatever reason some people had to use its 8 character name...