From 2687e0378f8798b0cc262362ed5f942e3e693961 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Fri, 7 Jul 2023 19:24:48 +0100 Subject: [PATCH] * src/truetype/ttgload.c (TT_Hint_Glyph): More mostly cosmetic update. This is a follow-up to 49c74ac021f8139e83bbd65df75217d0de284eea, which creates a new local variable "exec = loader->exec", and shortening a lot of "loader->exec". This commit does two more such changes missed in that first commit. Signed-off-by: Hin-Tak Leung --- src/truetype/ttgload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 5f15a7f4d..d538e8ee8 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -820,7 +820,7 @@ FT_ARRAY_COPY( zone->org, zone->cur, zone->n_points ); /* Reset graphics state. */ - loader->exec->GS = loader->size->GS; + exec->GS = loader->size->GS; /* XXX: UNDOCUMENTED! Hinting instructions of a composite glyph */ /* completely refer to the (already) hinted subglyphs. */ @@ -860,7 +860,7 @@ exec->is_composite = is_composite; exec->pts = *zone; - error = TT_Run_Context( loader->exec ); + error = TT_Run_Context( exec ); if ( error && exec->pedantic_hinting ) return error; -- 2.41.0