summaryrefslogtreecommitdiff
path: root/src/truetype
diff options
context:
space:
mode:
Diffstat (limited to 'src/truetype')
-rw-r--r--src/truetype/ttgload.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 0bd9af73f..95ba68dd3 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -2894,15 +2894,15 @@
/* The outline based algorithm took care of metrics. */
/* Read additional color info if requested. */
- if ( ( load_flags & FT_LOAD_COLOR ) &&
- ( (TT_Face)(glyph->face) )->colr_and_cpal )
+ if ( ( load_flags & FT_LOAD_COLOR ) &&
+ ( (TT_Face)glyph->face )->colr_and_cpal )
{
TT_Face face = (TT_Face)glyph->face;
FT_Memory memory = face->root.memory;
SFNT_Service sfnt = (SFNT_Service)face->sfnt;
- FT_Glyph_LayerRec* glyph_layers;
- FT_UShort num_glyph_layers;
+ FT_Glyph_Layer glyph_layers;
+ FT_UShort num_glyph_layers;
error = sfnt->load_colr_layer( face,