mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[gvar] Minor call a function instead of handcoding
This commit is contained in:
1 parent
cf95f3193b
commit
491aa572ce
1 file changed
+2
-4
@@ -400,10 +400,8 @@ struct gvar
|
||||
|
||||
/* apply specified / inferred deltas to points */
|
||||
for (unsigned int i = 0; i < points.length; i++)
|
||||
{
|
||||
points.arrayZ[i].x += deltas.arrayZ[i].x;
|
||||
points.arrayZ[i].y += deltas.arrayZ[i].y;
|
||||
}
|
||||
points.arrayZ[i].translate (deltas.arrayZ[i]);
|
||||
|
||||
} while (iterator.move_to_next ());
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user