diff --git a/ChangeLog b/ChangeLog index 488ce6eae..0145133c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-07 Werner Lemberg + + * src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to + FT_NEW_ARRAY. + 2004-09-04 Werner Lemberg * include/freetype/internal/ftobjs.h: Don't include diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c index 696457a98..475125168 100644 --- a/src/truetype/ttgxvar.c +++ b/src/truetype/ttgxvar.c @@ -1323,7 +1323,7 @@ return TT_Err_Invalid_Argument; /* to be freed by the caller */ - if ( (error = FT_NEW_ARRAY( delta_xy, n_points )) != 0 ) + if ( FT_NEW_ARRAY( delta_xy, n_points ) != 0 ) goto Exit; *deltas = delta_xy;