Commit 7ae20e55c98f973f75fa6205b89d975de07121e3

Alexei Podtelezhnikov 2023-03-03T22:41:09

* src/sfnt/sfobjs.c (sfnt_load_face): Shorten de-referencing.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index e018934..6469da9 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -1221,7 +1221,7 @@
 
         if ( count > 0 )
         {
-          FT_Memory        memory   = face->root.stream->memory;
+          FT_Memory        memory   = face->root.memory;
           FT_UShort        em_size  = face->header.Units_Per_EM;
           FT_Short         avgwidth = face->os2.xAvgCharWidth;
           FT_Size_Metrics  metrics;