aboutsummaryrefslogtreecommitdiff
path: root/share/library/Misc/signs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'share/library/Misc/signs.lua')
-rw-r--r--share/library/Misc/signs.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/share/library/Misc/signs.lua b/share/library/Misc/signs.lua
index d2efe45..158d9b2 100644
--- a/share/library/Misc/signs.lua
+++ b/share/library/Misc/signs.lua
@@ -26,21 +26,21 @@ local terminals = {}
-- Rendering
local render_plus = function (cr)
-- The plus sign
- cr.move_to (0, -0.4)
- cr.line_to (0, 0.4)
+ cr:move_to (0, -0.4)
+ cr:line_to (0, 0.4)
- cr.move_to (-0.4, 0)
- cr.line_to (0.4, 0)
+ cr:move_to (-0.4, 0)
+ cr:line_to (0.4, 0)
- cr.stroke ()
+ cr:stroke ()
end
local render_minus = function (cr)
-- The minus sign
- cr.move_to (-0.4, 0)
- cr.line_to (0.4, 0)
+ cr:move_to (-0.4, 0)
+ cr:line_to (0.4, 0)
- cr.stroke ()
+ cr:stroke ()
end
-- Register the symbols