diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp index 3a68ddd0104..7a32d0c566b 100644 --- a/graphics/macgui/macmenu.cpp +++ b/graphics/macgui/macmenu.cpp @@ -585,6 +585,7 @@ void MacMenu::createSubMenuFromString(int id, const char *str, int commandId) { } const Font *MacMenu::getMenuFont(int slant) { +#ifdef USE_FREETYPE2 if (_wm->_mode & kWMModeWin95) { if (!_loadedFont) { _loadedFont = Graphics::loadTTFFontFromArchive("ms_sans_serif.ttf", 16); @@ -597,6 +598,7 @@ const Font *MacMenu::getMenuFont(int slant) { // If font was not loaded, fallback } +#endif return _wm->_fontMan->getFont(Graphics::MacFont(kMacFontChicago, 12, slant)); }