mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[Composite] Minor micro-optimize
This commit is contained in:
1 parent
e768754b0f
commit
ecd0f859bd
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user