[glyf] Minor another range for loop

This commit is contained in:
Behdad Esfahbod committed 2023-06-29 20:56:16 -06:00
1 parent 0ae1676626
commit 794fac327c
1 file changed
+2 -2
+2 -2
View File
@@ -225,8 +225,8 @@ struct glyf_accelerator_t
if (consumer.is_consuming_contour_points ())
{
for (unsigned point_index = 0; point_index < count; point_index++)
consumer.consume_point (all_points.arrayZ[point_index]);
for (auto &point : all_points.as_array ().sub_array (0, count))
consumer.consume_point (point);
consumer.points_end ();
}