1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 17:09:10 +00:00

Change: Display font status as aa/noaa instead of true/false. (#10352)

This commit is contained in:
2023-01-14 22:39:15 +00:00
committed by Michael Lutz
parent 05c0295d32
commit 0cb3d85a87

View File

@@ -2053,7 +2053,7 @@ DEF_CONSOLE_CMD(ConFont)
InitFontCache(fs == FS_MONO); InitFontCache(fs == FS_MONO);
fc = FontCache::Get(fs); fc = FontCache::Get(fs);
} }
IConsolePrint(CC_DEFAULT, "{}: \"{}\" {} {} [\"{}\" {} {}]", FontSizeToName(fs), fc->GetFontName(), fc->GetFontSize(), GetFontAAState(fs), setting->font, setting->size, setting->aa); IConsolePrint(CC_DEFAULT, "{}: \"{}\" {} {} [\"{}\" {} {}]", FontSizeToName(fs), fc->GetFontName(), fc->GetFontSize(), GetFontAAState(fs) ? "aa" : "noaa", setting->font, setting->size, setting->aa ? "aa" : "noaa");
} }
return true; return true;