minor editing

This commit is contained in:
Werner Lemberg 2008-02-17 08:23:04 +00:00
parent 44c655b01c
commit c903f2f22d
1 changed files with 6 additions and 5 deletions

View File

@ -7,11 +7,12 @@
* src/base/ftmac.c (FT_New_Face_From_SFNT): Check the sfnt resource
handle by its value instead of ResError(), fix provided by Deron
Kazmaier. According to Resource Manager Reference, GetResource(),
Get1Resource(), GetNamedResource(), Get1NamedResource()
and RGetResource() set noErr but returns NULL handle when they can
not find requested resource. These functions never return undefined
values, so it is sufficient to check if the handle is not NULL.
Kazmaier. According to the Resource Manager Reference,
GetResource(), Get1Resource(), GetNamedResource(),
Get1NamedResource() and RGetResource() set noErr but return NULL
handle when they can not find the requested resource. These
functions never return undefined values, so it is sufficient to
check if the handle is not NULL.
* builds/mac/ftmac.c (FT_New_Face_From_SFNT): Ditto.