projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
850dc5b
)
Cosmetic
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 6 Nov 2009 00:20:06 +0000
(19:20 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 6 Nov 2009 00:20:06 +0000
(19:20 -0500)
src/hb-ft.c
patch
|
blob
|
history
diff --git
a/src/hb-ft.c
b/src/hb-ft.c
index
00a953f
..
bf05f4d
100644
(file)
--- a/
src/hb-ft.c
+++ b/
src/hb-ft.c
@@
-183,7
+183,7
@@
hb_face_t *
hb_ft_face_create_cached (FT_Face ft_face)
{
/* TODO: Not thread-safe */
- if (
!HB_LIKELY (ft_face->generic.data && ft_face->generic.finalizer =
= (FT_Generic_Finalizer) hb_face_destroy))
+ if (
HB_UNLIKELY (!ft_face->generic.data || ft_face->generic.finalizer !
= (FT_Generic_Finalizer) hb_face_destroy))
{
if (ft_face->generic.finalizer)
ft_face->generic.finalizer (ft_face->generic.data);