shithub: freetype+ttf2subf

Download patch

ref: 619e147621dfea47b67b16ccdd58ebdedd79e048
parent: 645af08157345524dae6e7df4cb75f5514f52f0b
author: Werner Lemberg <[email protected]>
date: Wed Sep 8 05:47:44 EDT 2004

* src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to
FT_NEW_ARRAY.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-07  Werner Lemberg  <[email protected]>
+
+	* src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to
+	FT_NEW_ARRAY.
+
 2004-09-04  Werner Lemberg  <[email protected]>
 
 	* include/freetype/internal/ftobjs.h: Don't include
--- 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;