diff --git a/src/hb-ot-var-avar-table.hh b/src/hb-ot-var-avar-table.hh index 81ac44eab..45f702dbd 100644 --- a/src/hb-ot-var-avar-table.hh +++ b/src/hb-ot-var-avar-table.hh @@ -60,13 +60,13 @@ struct AxisValueMap struct SegmentMaps : ArrayOf { - 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)