commit | 544dd9678c51458c9a19a951a873a0a259cdfe7a | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sat Jan 28 22:06:46 2023 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sat Jan 28 22:06:46 2023 -0700 |
tree | 29c24ea1e6c98d968896f02bbb0f1bc4ec45b21c | |
parent | c1d0daf5f12caf2b13f267941d761fd9c37d4fd6 [diff] |
[font] Fix unlikely
diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index 944f5b7..36575cf 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc
@@ -92,7 +92,7 @@ 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,