[dfont] Minor

This commit is contained in:
Behdad Esfahbod 2018-09-11 17:26:24 +02:00
parent d5c509272f
commit 6b5e4d07ad
1 changed files with 2 additions and 5 deletions

View File

@ -363,10 +363,7 @@ struct ResourceMap
return ((&reserved[2])+typeList)[i];
}
inline unsigned int get_types_count () const
{
return nTypes + 1;
}
inline unsigned int get_types_count () const { return nTypes + 1; }
inline const ResourceRefItem &get_ref_item (const ResourceTypeItem &type,
unsigned int i) const
@ -392,7 +389,7 @@ struct ResourceMap
OffsetTo<UnsizedArrayOf<ResourceTypeItem> >
typeList; /* Offset from beginning of map to
* resource type list */
HBUINT16 nameList; /* Offset from beginning of map to
Offset16 nameList; /* Offset from beginning of map to
* resource name list */
HBUINT16 nTypes; /* Number of types in the map minus 1 */
public: