Minor touch-up for recent change

This commit is contained in:
Behdad Esfahbod 2019-08-19 14:23:17 -07:00
parent 3348992844
commit 5ee1e451cf
1 changed files with 3 additions and 3 deletions

View File

@ -60,13 +60,13 @@ struct AxisValueMap
struct SegmentMaps : ArrayOf<AxisValueMap>
{
int map (int value, unsigned int from_stride = 0, unsigned int to_stide = 1) const
int map (int value, unsigned int from_offset = 0, unsigned int to_offset = 1) const
{
#define fromCoord coords[from_offset]
#define toCoord coords[to_offset]
/* The following special-cases are not part of OpenType, which requires
* that at least -1, 0, and +1 must be mapped. But we include these as
* part of a better error recovery scheme. */
#define fromCoord coords[from_stride]
#define toCoord coords[to_stide]
if (len < 2)
{
if (!len)