* src/base/ftglyph.c (FT_Get_Glyph): fixing small bug, thanks
to Henry Maddocks for spotting this
This commit is contained in:
parent
b72d8a8521
commit
c4ec973160
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue