* src/base/ftglyph.c (FT_Get_Glyph): fixing small bug, thanks

to Henry Maddocks for spotting this
This commit is contained in:
David Turner 2003-09-29 20:35:34 +00:00
parent b72d8a8521
commit c4ec973160
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-09-29 David Turner <david@freetype.org>
* src/base/ftglyph.c (FT_Get_Glyph): fixing small bug, thanks
to Henry Maddocks for spotting this
* include/freetype/internal/services/svpsname.h (added),
include/freetype/internal/psnames.h (removed),
include/freetype/internal/internal.h (FT_SERVICE_POSTSCRIPT_NAMES):

View File

@ -421,7 +421,7 @@
FT_Get_Glyph( FT_GlyphSlot slot,
FT_Glyph *aglyph )
{
FT_Library library = slot->library;
FT_Library library;
FT_Error error;
FT_Glyph glyph;
@ -431,6 +431,8 @@
if ( !slot )
return FT_Err_Invalid_Slot_Handle;
library = slot->library;
if ( !aglyph )
return FT_Err_Invalid_Argument;