From 286a74adeb3eb145a22d7081d07ba5b20e8ccebd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 20 Jan 2017 08:51:52 +0100 Subject: GRAPHICS: Fix copy/paste errors with MacFont size processing --- graphics/fonts/macfont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/fonts') diff --git a/graphics/fonts/macfont.cpp b/graphics/fonts/macfont.cpp index 951202966e..fb3240ac76 100644 --- a/graphics/fonts/macfont.cpp +++ b/graphics/fonts/macfont.cpp @@ -131,10 +131,10 @@ bool MacFontFamily::load(Common::SeekableReadStream &stream) { for (uint i = 0; i <= _ffNumAssoc; i++) { _ffAssocEntries[i]._fontSize = stream.readUint16BE(); // point size of font - _ffAssocEntries[i]._fontSize = stream.readUint16BE(); // style of font + _ffAssocEntries[i]._fontStyle = stream.readUint16BE(); // style of font _ffAssocEntries[i]._fontID = stream.readUint16BE(); // font resource ID - debug(10, " size: %d style: %d id: %d", _ffAssocEntries[i]._fontSize, _ffAssocEntries[i]._fontSize, + debug(10, " size: %d style: %d id: %d", _ffAssocEntries[i]._fontSize, _ffAssocEntries[i]._fontStyle, _ffAssocEntries[i]._fontID); } -- cgit v1.2.3