ref: 7a615283cb55d26165c2b9b4bd061a8a08ddbcd6
parent: 387a9fe73dabcac45a11a55bb27fa0e8e7d81437
author: Werner Lemberg <[email protected]>
date: Mon Sep 22 04:38:00 EDT 2014
[autofit] Minor.
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -1293,17 +1293,19 @@
/* this is the start of a new segment! */
segment_dir = (AF_Direction)point->out_dir;
- /* clear all segment fields */
error = af_axis_hints_new_segment( axis, memory, &segment );
if ( error )
goto Exit;
- segment[0] = seg0;
+ /* clear all segment fields */
+ segment[0] = seg0;
+
segment->dir = (FT_Char)segment_dir;
min_pos = max_pos = point->u;
segment->first = point;
segment->last = point;
- on_edge = 1;
+
+ on_edge = 1;
}
point = point->next;