GRAPHICS: Gracefully process previous version of classicmacfonts.dat

This commit is contained in:
Eugene Sandulenko 2017-01-23 19:59:42 +01:00
parent e66961e1de
commit 1caaf49f20

View File

@ -161,7 +161,7 @@ void MacFontManager::loadFonts() {
Common::MacResManager *fontFile = new Common::MacResManager();
if (!fontFile->loadFromMacBinary(*stream))
error("Could not open %s as a resource fork", (*it)->getName().c_str());
continue;
Common::MacResIDArray fonds = fontFile->getResIDArray(MKTAG('F','O','N','D'));
if (fonds.size() > 0) {