summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/fontbuild/anchors.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/fontbuild/anchors.py b/scripts/lib/fontbuild/anchors.py
index 9b8095d..622d52a 100644
--- a/scripts/lib/fontbuild/anchors.py
+++ b/scripts/lib/fontbuild/anchors.py
@@ -39,9 +39,9 @@ def moveMarkAnchors(f, g, anchorName, accentName, dx, dy):
anchors = f[accentName].anchors
for anchor in anchors:
if "mkmkbottom_acc" == anchor.name:
- for anchor in g.anchors:
- if anchor.name == "bottom":
- g.removeAnchor(anchor)
+ for anc in g.anchors:
+ if anc.name == "bottom":
+ g.removeAnchor(anc)
break
x = anchor.x + int(dx)
for anc in anchors: