From 1caaf49f20ebbe44c8fb116144fca1f85ae1bae3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 23 Jan 2017 19:59:42 +0100 Subject: GRAPHICS: Gracefully process previous version of classicmacfonts.dat --- graphics/macgui/macfontmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/macgui') diff --git a/graphics/macgui/macfontmanager.cpp b/graphics/macgui/macfontmanager.cpp index 836255ad0d..d49f17ce88 100644 --- a/graphics/macgui/macfontmanager.cpp +++ b/graphics/macgui/macfontmanager.cpp @@ -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) { -- cgit v1.2.3