* src/sfnt/sfwoff2.c (woff2_open_font): Fix copy-paste typo.
diff --git a/src/sfnt/sfwoff2.c b/src/sfnt/sfwoff2.c
index bc7a55d..589b3e0 100644
--- a/src/sfnt/sfwoff2.c
+++ b/src/sfnt/sfwoff2.c
@@ -2201,9 +2201,9 @@
{
FT_Byte* sfnt_header = sfnt;
- FT_Int entrySelector = FT_MSB( woff.num_tables );
+ FT_Int entrySelector = FT_MSB( woff2.num_tables );
FT_Int searchRange = ( 1 << entrySelector ) * 16;
- FT_Int rangeShift = woff.num_tables * 16 - searchRange;
+ FT_Int rangeShift = woff2.num_tables * 16 - searchRange;
WRITE_ULONG ( sfnt_header, woff2.flavor );