fixed a _really_ stupid bugs in the TrueType Collection

loading !!
This commit is contained in:
David Turner 2000-03-17 23:33:07 +00:00
parent f8bc2d3ca6
commit 14d340ce2e

View File

@ -217,8 +217,8 @@
goto Exit;
/* seek to the appropriate TrueType file, then read tag */
if ( FILE_Skip( face->ttc_header.TableDirectory[faceIndex] - 12 ) ||
READ_Long( *format_tag ) )
if ( FILE_Seek( face->ttc_header.TableDirectory[faceIndex] ) ||
READ_Long( *format_tag ) )
goto Exit;
}