shithub: freetype+ttf2subf

Download patch

ref: 4ef4bdf066bba4a0fb851e14714a77580cf860c4
parent: 0d9165e1d6451063693eda6d7dce367051a39ead
author: Werner Lemberg <[email protected]>
date: Thu Mar 7 18:22:28 EST 2002

* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-08  Werner Lemberg  <[email protected]>
+
+	* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.
+
 2002-03-07  Werner Lemberg  <[email protected]>
 
 	* src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
--- a/src/base/ftutil.c
+++ b/src/base/ftutil.c
@@ -88,7 +88,7 @@
       goto Fail;
 
     if ( size > current )
-      memset( (char*)Q + current, 0, size - current );
+      MEM_Set( (char*)Q + current, 0, size - current );
 
     *P = Q;
     return FT_Err_Ok;