Commit 2adef94f43a3d12be78453705e6705134370b6b8

Alexei Podtelezhnikov 2023-03-03T18:40:48

* src/cff/cffobjs.c (cff_size_get_globals_funcs): Shorten de-referencing.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c
index edd274e..18bb0b3 100644
--- a/src/cff/cffobjs.c
+++ b/src/cff/cffobjs.c
@@ -69,8 +69,8 @@
     FT_Module         module;
 
 
-    module = FT_Get_Module( size->root.face->driver->root.library,
-                            "pshinter" );
+    module = FT_Get_Module( font->library, "pshinter" );
+
     return ( module && pshinter && pshinter->get_globals_funcs )
            ? pshinter->get_globals_funcs( module )
            : 0;