about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-25 17:07:06 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-25 17:07:06 -0700
commitf49e2fd104ed8aa8959ba3ae969551fda4251c1a (patch)
treedebd01d131404bb7a28b4f11598c535c648485a1
parentd1f893a98e80b3baf25aa9d30f8305c586569e66 (diff)
downloadtext.love-f49e2fd104ed8aa8959ba3ae969551fda4251c1a.tar.gz
typos
-rw-r--r--file.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.lua b/file.lua
index ced2a04..0ce1b8e 100644
--- a/file.lua
+++ b/file.lua
@@ -66,7 +66,7 @@ function load_drawing(infile_next_line)
     elseif shape.mode == 'circle' or shape.mode == 'arc' then
       local name = shape.center.name
       shape.center = Drawing.insert_point(drawing.points, shape.center.x,shape.center.y)
-      drawing.point[shape.center].name = name
+      drawing.points[shape.center].name = name
     else
       print(shape.mode)
       assert(false)
@@ -155,7 +155,7 @@ function load_drawing_from_array(iter, a, i)
     elseif shape.mode == 'circle' or shape.mode == 'arc' then
       local name = shape.center.name
       shape.center = Drawing.insert_point(drawing.points, shape.center.x,shape.center.y)
-      drawing.point[shape.center].name = name
+      drawing.points[shape.center].name = name
     else
       print(shape.mode)
       assert(false)