This commit is contained in:
Behdad Esfahbod 2013-02-15 11:47:24 -05:00
parent 27589620ba
commit 99fa9ea020

View File

@ -1316,9 +1316,7 @@ struct SubstLookup : Lookup
{ {
/* The spec says all subtables of an Extension lookup should /* The spec says all subtables of an Extension lookup should
* have the same type. This is specially important if one has * have the same type. This is specially important if one has
* a reverse type! * a reverse type! */
*
* We just check that they are all either forward, or reverse. */
unsigned int type = get_subtable (0).u.extension.get_type (); unsigned int type = get_subtable (0).u.extension.get_type ();
unsigned int count = get_subtable_count (); unsigned int count = get_subtable_count ();
for (unsigned int i = 1; i < count; i++) for (unsigned int i = 1; i < count; i++)