[Composite] Minor micro-optimize

This commit is contained in:
Behdad Esfahbod committed 2023-04-29 10:52:49 -06:00
1 parent e768754b0f
commit ecd0f859bd
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ struct CompositeGlyphRecord
get_transformation (matrix, trans);
points.alloc (points.length + 4); // For phantom points
if (unlikely (!points.resize (points.length + 1))) return false;
points[points.length - 1] = trans;
points.arrayZ[points.length - 1] = trans;
return true;
}