From 095a4cc1f39edb4b0e4d38d3186a8b7b9509dcf0 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 20 Mar 2002 15:35:53 +0000 Subject: [PATCH] * src/base/ftgloadr.c (FT_GlyphLoader_CheckSubGlyphs): fixed a memory allocation bug that was due to un-careful renaming of the FT_SubGlyph type.. --- ChangeLog | 4 ++++ src/base/ftgloadr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b273a4bc2..0477ee949 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2002-03-20 David Turner + * src/base/ftgloadr.c (FT_GlyphLoader_CheckSubGlyphs): fixed a memory + allocation bug that was due to un-careful renaming of the FT_SubGlyph + type.. + * renaming stream macros. Examples: FILE_Skip => FT_STREAM_SKIP diff --git a/src/base/ftgloadr.c b/src/base/ftgloadr.c index 2b3ab075a..a181e5f6e 100644 --- a/src/base/ftgloadr.c +++ b/src/base/ftgloadr.c @@ -245,7 +245,7 @@ if ( new_max > old_max ) { new_max = ( new_max + 1 ) & -2; - if ( REALLOC_ARRAY( base->subglyphs, old_max, new_max, FT_SubGlyph ) ) + if ( REALLOC_ARRAY( base->subglyphs, old_max, new_max, FT_SubGlyphRec ) ) goto Exit; loader->max_subglyphs = new_max;