[dfont] Minor
This commit is contained in:
parent
d5c509272f
commit
6b5e4d07ad
|
@ -363,10 +363,7 @@ struct ResourceMap
|
||||||
return ((&reserved[2])+typeList)[i];
|
return ((&reserved[2])+typeList)[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
inline unsigned int get_types_count () const
|
inline unsigned int get_types_count () const { return nTypes + 1; }
|
||||||
{
|
|
||||||
return nTypes + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline const ResourceRefItem &get_ref_item (const ResourceTypeItem &type,
|
inline const ResourceRefItem &get_ref_item (const ResourceTypeItem &type,
|
||||||
unsigned int i) const
|
unsigned int i) const
|
||||||
|
@ -392,7 +389,7 @@ struct ResourceMap
|
||||||
OffsetTo<UnsizedArrayOf<ResourceTypeItem> >
|
OffsetTo<UnsizedArrayOf<ResourceTypeItem> >
|
||||||
typeList; /* Offset from beginning of map to
|
typeList; /* Offset from beginning of map to
|
||||||
* resource type list */
|
* resource type list */
|
||||||
HBUINT16 nameList; /* Offset from beginning of map to
|
Offset16 nameList; /* Offset from beginning of map to
|
||||||
* resource name list */
|
* resource name list */
|
||||||
HBUINT16 nTypes; /* Number of types in the map minus 1 */
|
HBUINT16 nTypes; /* Number of types in the map minus 1 */
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue