Commit dec2743e6a2a40cddfc8a9892895cb4f861e1eeb

Hin-Tak Leung 2023-07-07T19:24:48

* src/truetype/ttgload.c (TT_Hint_Glyph): More mostly cosmetic update. This is a follow-up to commit 49c74ac02, 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 <htl10@users.sourceforge.net>

diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 5f15a7f..d538e8e 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;