[coretext] Another try
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 9 Aug 2018 08:02:02 +0000 (01:02 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 9 Aug 2018 08:02:02 +0000 (01:02 -0700)
src/hb-coretext.cc

index 1ef5234..1b916a5 100644 (file)
@@ -348,7 +348,7 @@ hb_coretext_font_create (CTFontRef ct_font)
   hb_font_set_ptem (font, coretext_font_size_to_ptem (CTFontGetSize(ct_font)));
 
   /* Let there be dragons here... */
-  HB_SHAPER_DATA (font).set_relaxed ((hb_coretext_font_data_t *) CFRetain (ct_font));
+  HB_SHAPER_DATA (HB_SHAPER, font).set_relaxed ((hb_coretext_font_data_t *) CFRetain (ct_font));
 
   return font;
 }