From 619e147621dfea47b67b16ccdd58ebdedd79e048 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 8 Sep 2004 09:47:44 +0000 Subject: [PATCH] * src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to FT_NEW_ARRAY. --- ChangeLog | 5 +++++ src/truetype/ttgxvar.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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;