From d4d1bf8177b127caa57b146c932f553dca1ad933 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 2 Aug 2018 02:04:02 -0700 Subject: [PATCH] Fix for recent rename --- src/hb-graphite2.cc | 2 +- src/hb-uniscribe.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc index da7944b8..2ba905d6 100644 --- a/src/hb-graphite2.cc +++ b/src/hb-graphite2.cc @@ -106,7 +106,7 @@ _hb_graphite2_shaper_face_data_create (hb_face_t *face) } hb_blob_destroy (silf_blob); - hb_graphite2_face_data_t *data = (hb_graphite2_face_data_t *) calloc (1, sizeof (hb_graphite2_shaper_face_data_t)); + hb_graphite2_face_data_t *data = (hb_graphite2_face_data_t *) calloc (1, sizeof (hb_graphite2_face_data_t)); if (unlikely (!data)) return nullptr; diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc index 6d579534..94e6bb55 100644 --- a/src/hb-uniscribe.cc +++ b/src/hb-uniscribe.cc @@ -442,7 +442,7 @@ _hb_rename_font (hb_blob_t *blob, wchar_t *new_name) hb_uniscribe_face_data_t * _hb_uniscribe_shaper_face_data_create (hb_face_t *face) { - hb_uniscribe_face_data_t *data = (hb_uniscribe_face_data_t *) calloc (1, sizeof (hb_uniscribe_shaper_face_data_t)); + hb_uniscribe_face_data_t *data = (hb_uniscribe_face_data_t *) calloc (1, sizeof (hb_uniscribe_face_data_t)); if (unlikely (!data)) return nullptr; @@ -520,7 +520,7 @@ _hb_uniscribe_shaper_font_data_create (hb_font_t *font) { if (unlikely (!hb_uniscribe_shaper_face_data_ensure (font->face))) return nullptr; - hb_uniscribe_font_data_t *data = (hb_uniscribe_font_data_t *) calloc (1, sizeof (hb_uniscribe_shaper_font_data_t)); + hb_uniscribe_font_data_t *data = (hb_uniscribe_font_data_t *) calloc (1, sizeof (hb_uniscribe_font_data_t)); if (unlikely (!data)) return nullptr; -- GitLab