fixed off by one bug in apply_deltas_to_points()

This commit is contained in:
Michiharu Ariza 2019-04-01 16:49:15 -07:00
parent ef11305bfd
commit 72545cb839
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ struct gvar
for (unsigned int c = 0; c < end_points.length; c++)
{
unsigned int end_point = end_points[c];
for (unsigned int i = start_point; i < end_point; i++)
for (unsigned int i = start_point; i <= end_point; i++)
{
if (deltas[i].flag) continue;
/* search in both directions within the contour for a pair of referenced points */