[varLib.builder] Fixup

This commit is contained in:
Behdad Esfahbod 2023-05-30 22:46:47 -06:00
parent a8f9fa98ec
commit ce0a32d1a4

View File

@ -145,7 +145,7 @@ def buildDeltaSetIndexMap(varIdxes):
return None
self = ot.DeltaSetIndexMap()
self.mapping = mapping
self.Format = 1 if len(varIdxes) > 0xFFFF else 0
self.Format = 1 if len(mapping) > 0xFFFF else 0
return self