From 1b51be57dcd3f964ab7503b5261294e673892991 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 22 Dec 2021 21:43:48 -0700 Subject: [PATCH] [hb-ot-var] Actually set in/out argument Fixes https://github.com/harfbuzz/harfbuzz/pull/3344 --- src/hb-ot-var-fvar-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-var-fvar-table.hh b/src/hb-ot-var-fvar-table.hh index 05f289db2..e06655868 100644 --- a/src/hb-ot-var-fvar-table.hh +++ b/src/hb-ot-var-fvar-table.hh @@ -263,7 +263,7 @@ struct fvar if (coords_length && *coords_length) { hb_array_t instanceCoords = instance->get_coordinates (axisCount) - .sub_array (0, *coords_length); + .sub_array (0, coords_length); for (unsigned int i = 0; i < instanceCoords.length; i++) coords[i] = instanceCoords.arrayZ[i].to_float (); }