aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-23 19:59:42 +0100
committerEugene Sandulenko2017-01-23 19:59:42 +0100
commit1caaf49f20ebbe44c8fb116144fca1f85ae1bae3 (patch)
tree5645d1ba2079602f6f0e0bcb6a0a43bbfeb5537a /graphics/macgui
parente66961e1defaf2e358742d5d310a7efe996eae69 (diff)
downloadscummvm-rg350-1caaf49f20ebbe44c8fb116144fca1f85ae1bae3.tar.gz
scummvm-rg350-1caaf49f20ebbe44c8fb116144fca1f85ae1bae3.tar.bz2
scummvm-rg350-1caaf49f20ebbe44c8fb116144fca1f85ae1bae3.zip
GRAPHICS: Gracefully process previous version of classicmacfonts.dat
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macfontmanager.cpp2
1 files changed, 1 insertions, 1 deletions
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) {