mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-21 09:01:37 +00:00
- stupid typo...
This commit is contained in:
parent
ba8a334862
commit
ca8897028f
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ TArray<PalEntry> TranslationColors;
|
||||||
|
|
||||||
FFont *V_GetFont(const char *name, const char *fontlumpname)
|
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";
|
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, "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...
|
else if (!stricmp(name, "INDEXFON")) name = "IndexFont"; // Same here - for whatever reason some people had to use its 8 character name...
|
||||||
|
|
Loading…
Reference in a new issue