aboutsummaryrefslogtreecommitdiff
path: root/share/library/Misc/cell.lua
diff options
context:
space:
mode:
Diffstat (limited to 'share/library/Misc/cell.lua')
-rw-r--r--share/library/Misc/cell.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/share/library/Misc/cell.lua b/share/library/Misc/cell.lua
index 8a6a575..541e44c 100644
--- a/share/library/Misc/cell.lua
+++ b/share/library/Misc/cell.lua
@@ -17,20 +17,20 @@ local terminals = {{-1, 0}, {1, 0}}
-- Rendering
local render = function (cr)
-- The vertical lines
- cr.move_to (-0.2, -1)
- cr.line_to (-0.2, 1)
+ cr:move_to (-0.2, -1)
+ cr:line_to (-0.2, 1)
- cr.move_to (0.2, -2)
- cr.line_to (0.2, 2)
+ cr:move_to (0.2, -2)
+ cr:line_to (0.2, 2)
-- The terminals
- cr.move_to (-1, 0)
- cr.line_to (-0.2, 0)
+ cr:move_to (-1, 0)
+ cr:line_to (-0.2, 0)
- cr.move_to (0.2, 0)
- cr.line_to (1, 0)
+ cr:move_to (0.2, 0)
+ cr:line_to (1, 0)
- cr.stroke ()
+ cr:stroke ()
end
-- Register the symbol