[font] unlikely
This commit is contained in:
parent
30ee7a21e1
commit
c1d0daf5f1
|
@ -92,11 +92,11 @@ _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));
|
||||
if (unlikely (!cmap_cache)) goto out;
|
||||
cmap_cache->init ();
|
||||
if (!hb_face_set_user_data (font->face,
|
||||
&hb_ot_font_cmap_cache_user_data_key,
|
||||
cmap_cache,
|
||||
hb_free,
|
||||
false))
|
||||
if (!unlikely (hb_face_set_user_data (font->face,
|
||||
&hb_ot_font_cmap_cache_user_data_key,
|
||||
cmap_cache,
|
||||
hb_free,
|
||||
false)))
|
||||
{
|
||||
/* Normally we would retry after this, but that would
|
||||
* infinite-loop if the face is the empty-face.
|
||||
|
|
Loading…
Reference in New Issue