minor editing
This commit is contained in:
parent
44c655b01c
commit
c903f2f22d
11
ChangeLog
11
ChangeLog
|
@ -7,11 +7,12 @@
|
||||||
|
|
||||||
* src/base/ftmac.c (FT_New_Face_From_SFNT): Check the sfnt resource
|
* src/base/ftmac.c (FT_New_Face_From_SFNT): Check the sfnt resource
|
||||||
handle by its value instead of ResError(), fix provided by Deron
|
handle by its value instead of ResError(), fix provided by Deron
|
||||||
Kazmaier. According to Resource Manager Reference, GetResource(),
|
Kazmaier. According to the Resource Manager Reference,
|
||||||
Get1Resource(), GetNamedResource(), Get1NamedResource()
|
GetResource(), Get1Resource(), GetNamedResource(),
|
||||||
and RGetResource() set noErr but returns NULL handle when they can
|
Get1NamedResource() and RGetResource() set noErr but return NULL
|
||||||
not find requested resource. These functions never return undefined
|
handle when they can not find the requested resource. These
|
||||||
values, so it is sufficient to check if the handle is not NULL.
|
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.
|
* builds/mac/ftmac.c (FT_New_Face_From_SFNT): Ditto.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue