diff options
Diffstat (limited to 'Build/source/libs/freetype2/src/autofit/aflatin.c')
-rw-r--r-- | Build/source/libs/freetype2/src/autofit/aflatin.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/libs/freetype2/src/autofit/aflatin.c b/Build/source/libs/freetype2/src/autofit/aflatin.c index 2ae9ec5a19c..b70da068afa 100644 --- a/Build/source/libs/freetype2/src/autofit/aflatin.c +++ b/Build/source/libs/freetype2/src/autofit/aflatin.c @@ -197,7 +197,7 @@ FT_UInt glyph_index; FT_Int best_point, best_y, best_first, best_last; FT_Vector* points; - FT_Bool round; + FT_Bool round = 0; AF_LOG(( "'%c'", *p )); @@ -1004,12 +1004,14 @@ if ( !found ) { - AF_Edge edge; + AF_Edge edge; /* insert a new edge in the list and */ /* sort according to the position */ - error = af_axis_hints_new_edge( axis, seg->pos, seg->dir, memory, &edge ); + error = af_axis_hints_new_edge( axis, seg->pos, + (AF_Direction)seg->dir, + memory, &edge ); if ( error ) goto Exit; |