This commit is contained in:
Behdad Esfahbod 2017-01-09 00:38:46 -08:00
parent e4d88b5a38
commit aeafda539b

View File

@ -206,7 +206,7 @@ class VarData(BaseTable):
numShorts = 0
count = len(self.VarRegionIndex)
for item in getattr(self, Item, []):
for item in getattr(self, 'Item', []):
assert len(item) == count, ("Item length mismatch", len(item), count)
for i in range(count - 1, numShorts - 1, -1):
if not (-128 <= item[i] <= 127):