Minor refactoring.
This commit is contained in:
parent
633d8ed2c9
commit
6ec0434ec9
|
@ -942,8 +942,8 @@
|
|||
l_in = 0;
|
||||
last = outline->contours[c];
|
||||
|
||||
/* Counter i cycles though the points; counter j advances only */
|
||||
/* if points are moved; anchor k marks the first moved point. */
|
||||
/* Counter j cycles though the points; counter i advances only */
|
||||
/* when points are moved; anchor k marks the first moved point. */
|
||||
for ( i = last, j = first, k = -1;
|
||||
j != i && i != k;
|
||||
j = j < last ? j + 1 : first )
|
||||
|
@ -953,6 +953,9 @@
|
|||
out.x = points[j].x - points[i].x;
|
||||
out.y = points[j].y - points[i].y;
|
||||
l_out = FT_Vector_NormLen( &out );
|
||||
|
||||
if ( l_out == 0 )
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -960,9 +963,6 @@
|
|||
l_out = l_anchor;
|
||||
}
|
||||
|
||||
if ( l_out == 0 )
|
||||
continue;
|
||||
|
||||
if ( l_in != 0 )
|
||||
{
|
||||
if ( k < 0 )
|
||||
|
|
Loading…
Reference in New Issue