replace header preprocessor conditional with cpp function

This commit is contained in:
Marco Antonio Jaguaribe Costa
2023-01-30 09:25:01 -03:00
committed by majcosta
parent b5ec955324
commit f8f8461a65
4 changed files with 13 additions and 15 deletions
+8
View File
@@ -93,6 +93,14 @@ UINT16 CreateFontPaletteTables(HVOBJECT pObj );
extern UINT16 gzFontName[32];
auto GetHugeFont() -> INT32 {
#if defined(JA2EDITOR) && defined(ENGLISH)
return gpHugeFont;
#else
return gp16PointArial;
#endif
}
BOOLEAN InitializeFonts( )
{
//INT16 zWinFontName[128]; // unused (jonathanl)