Skip to content

Commit

Permalink
GRAPHICS: MACGUI: Improved debug output in MacFontManager
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 22, 2017
1 parent 3e3e0e9 commit e13d567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphics/macgui/macfontmanager.cpp
Expand Up @@ -209,7 +209,7 @@ void MacFontManager::loadFonts(Common::MacResManager *fontFile) {
Common::Array<Graphics::MacFontFamily::AsscEntry> *assoc = fontFamily->getAssocTable();

for (uint i = 0; i < assoc->size(); i++) {
debug("size: %d style: %d id: %d", (*assoc)[i]._fontSize, (*assoc)[i]._fontStyle,
debug(8, "size: %d style: %d id: %d", (*assoc)[i]._fontSize, (*assoc)[i]._fontStyle,
(*assoc)[i]._fontID);

Common::SeekableReadStream *fontstream;
Expand All @@ -222,7 +222,7 @@ void MacFontManager::loadFonts(Common::MacResManager *fontFile) {
fontstream = fontFile->getResource(MKTAG('F', 'O', 'N', 'T'), (*assoc)[i]._fontID);

if (!fontstream) {
warning("Unknown FontId: %d", (*assoc)[i]._fontID);
warning("MacFontManager: Unknown FontId: %d", (*assoc)[i]._fontID);

continue;
}
Expand Down

0 comments on commit e13d567

Please sign in to comment.