From 3302e2f60cc377238ae98d8f2ea266eeea603b92 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Sat, 9 Sep 2023 17:24:34 -0400 Subject: [PATCH] Update forgotten array termini. * src/cid/cidload.c (cid_field_records): Account for added `len`. * src/type1/t1load.c (t1_keywords): Ditto. * src/type42/t42parse.c (t42_keywords): Ditto. --- src/cid/cidload.c | 2 +- src/type1/t1load.c | 2 +- src/type42/t42parse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cid/cidload.c b/src/cid/cidload.c index f54fd7544..356673a61 100644 --- a/src/cid/cidload.c +++ b/src/cid/cidload.c @@ -388,7 +388,7 @@ T1_FIELD_CALLBACK( "ExpansionFactor", parse_expansion_factor, 0 ) T1_FIELD_CALLBACK( "FontName", parse_font_name, 0 ) - { 0, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_TYPE_NONE, 0, 0, 0, 0, 0, 0 } + { 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 } }; diff --git a/src/type1/t1load.c b/src/type1/t1load.c index fb685ff26..6a2d2801d 100644 --- a/src/type1/t1load.c +++ b/src/type1/t1load.c @@ -2284,7 +2284,7 @@ T1_FIELD_DICT_PRIVATE ) #endif - { 0, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_TYPE_NONE, 0, 0, 0, 0, 0, 0 } + { 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 } }; diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c index fa165b7b9..71654c7b3 100644 --- a/src/type42/t42parse.c +++ b/src/type42/t42parse.c @@ -99,7 +99,7 @@ T1_FIELD_CALLBACK( "CharStrings", t42_parse_charstrings, 0 ) T1_FIELD_CALLBACK( "sfnts", t42_parse_sfnts, 0 ) - { 0, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_TYPE_NONE, 0, 0, 0, 0, 0, 0 } + { 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 } };