summaryrefslogtreecommitdiff
path: root/src/base/ftoutln.c
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2015-08-17 21:48:46 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2015-08-17 21:48:46 -0400
commit815c32469b378737e9f36da327a181586bd48e18 (patch)
tree6ea8e73926ec7edf7d880967e8b9ba7e3978cdde /src/base/ftoutln.c
parent00d899507c3dfa022d594342f450870e08aa1e59 (diff)
downloadfreetype2-815c32469b378737e9f36da327a181586bd48e18.tar.gz
Minor.
Diffstat (limited to 'src/base/ftoutln.c')
-rw-r--r--src/base/ftoutln.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c
index ce4bd6cd2..8804cc70b 100644
--- a/src/base/ftoutln.c
+++ b/src/base/ftoutln.c
@@ -937,7 +937,7 @@
{
FT_Vector in, out, shift;
FT_Fixed l_in, l_out, l, q, d;
- int last = outline->contours[c];
+ FT_Int last = outline->contours[c];
v_first = points[first];
@@ -968,8 +968,7 @@
{
d = d + 0x10000L;
- /* shift components are aligned along lateral bisector */
- /* and directed according to the outline orientation. */
+ /* shift along lateral bisector in appropriate orientation */
shift.x = in.y + out.y;
shift.y = in.x + out.x;
@@ -1000,8 +999,8 @@
else
shift.x = shift.y = 0;
- outline->points[n].x = v_cur.x + xstrength + shift.x;
- outline->points[n].y = v_cur.y + ystrength + shift.y;
+ points[n].x = v_cur.x + xstrength + shift.x;
+ points[n].y = v_cur.y + ystrength + shift.y;
in = out;
l_in = l_out;