[font] Fix unlikely
This commit is contained in:
parent
c1d0daf5f1
commit
544dd9678c
|
@ -92,7 +92,7 @@ _hb_ot_font_create (hb_font_t *font)
|
||||||
cmap_cache = (hb_ot_font_cmap_cache_t *) hb_malloc (sizeof (hb_ot_font_cmap_cache_t));
|
cmap_cache = (hb_ot_font_cmap_cache_t *) hb_malloc (sizeof (hb_ot_font_cmap_cache_t));
|
||||||
if (unlikely (!cmap_cache)) goto out;
|
if (unlikely (!cmap_cache)) goto out;
|
||||||
cmap_cache->init ();
|
cmap_cache->init ();
|
||||||
if (!unlikely (hb_face_set_user_data (font->face,
|
if (unlikely (!hb_face_set_user_data (font->face,
|
||||||
&hb_ot_font_cmap_cache_user_data_key,
|
&hb_ot_font_cmap_cache_user_data_key,
|
||||||
cmap_cache,
|
cmap_cache,
|
||||||
hb_free,
|
hb_free,
|
||||||
|
|
Loading…
Reference in New Issue