* src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of


			
			
				david-pic-changes
			
			
		
Werner Lemberg 18 years ago
parent 1e1b6dff54
commit b003b3e7b5
  1. 5
      ChangeLog
  2. 10
      src/base/ftglyph.c

@ -1,3 +1,8 @@
2007-07-07 Werner Lemberg <wl@gnu.org>
* src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of
`target'. Reported by Sean McBride.
2007-07-06 Werner Lemberg <wl@gnu.org>
* src/pfr/pfrcmap.c: Include pfrerror.h.

@ -376,10 +376,16 @@
const FT_Glyph_Class* clazz;
/* check arguments */
if ( !target )
{
error = FT_Err_Invalid_Argument;
goto Exit;
}
*target = 0;
/* check arguments */
if ( !target || !source || !source->clazz )
if ( !source || !source->clazz )
{
error = FT_Err_Invalid_Argument;
goto Exit;

Loading…
Cancel
Save