From 5ee1e451cfc75dc6ddbc3ae300ba7394a0cd560e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 19 Aug 2019 14:23:17 -0700 Subject: [PATCH] Minor touch-up for recent change --- src/hb-ot-var-avar-table.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-var-avar-table.hh b/src/hb-ot-var-avar-table.hh index 81ac44ea..45f702db 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) -- GitLab