forked from minhngoc25a/freetype2
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
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue