Minor formatting.

This commit is contained in:
Werner Lemberg 2015-08-18 05:56:51 +02:00
parent a0172d10e8
commit 340e59da3a
1 changed files with 5 additions and 4 deletions

View File

@ -935,14 +935,15 @@
for ( c = 0; c < outline->n_contours; c++ ) for ( c = 0; c < outline->n_contours; c++ )
{ {
FT_Vector in, out, anchor, shift; FT_Vector in, out, anchor, shift;
FT_Fixed l_in = 0, l_out, l_anchor, l, q, d; FT_Fixed l_in, l_out, l_anchor, l, q, d;
FT_Int i, j, k; FT_Int i, j, k;
l_in = 0;
last = outline->contours[c]; last = outline->contours[c];
/* Counter i cycles though the points; counter j advances only */ /* Counter i cycles though the points; counter j advances only */
/* when points are moved; anchor k markes the first moved point. */ /* if points are moved; anchor k marks the first moved point. */
for ( i = last, j = first, k = -1; for ( i = last, j = first, k = -1;
j != i && i != k; j != i && i != k;
j = j < last ? j + 1 : first ) j = j < last ? j + 1 : first )
@ -966,7 +967,7 @@
{ {
if ( k < 0 ) if ( k < 0 )
{ {
k = i; k = i;
anchor = in; anchor = in;
l_anchor = l_in; l_anchor = l_in;
} }