From 544dd9678c51458c9a19a951a873a0a259cdfe7a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 28 Jan 2023 22:06:46 -0700 Subject: [PATCH] [font] Fix unlikely --- src/hb-ot-font.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index 944f5b7fd..36575cf54 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -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)); if (unlikely (!cmap_cache)) goto out; 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, cmap_cache, hb_free,