fix typo in COLR merge

This commit is contained in:
Just van Rossum 2022-07-07 16:00:43 +02:00
parent ce89a0301f
commit 1c8efee98d

View File

@ -1426,7 +1426,7 @@ def _merge_PaintColrLayers(self, out, lst):
paint.Format = int(ot.PaintFormat.PaintColrLayers)
paint.NumLayers = len(layers)
paint.FirstLayerIndex = len(self.layers)
self.layers.exend(layers)
self.layers.extend(layers)
if self.layerReuseCache is not None:
self.layerReuseCache.add(layers, paint.FirstLayerIndex)
return paint