aboutsummaryrefslogtreecommitdiff
path: root/share/library/Passive/resistor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'share/library/Passive/resistor.lua')
-rw-r--r--share/library/Passive/resistor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/library/Passive/resistor.lua b/share/library/Passive/resistor.lua
index 7c0b222..bad7a72 100644
--- a/share/library/Passive/resistor.lua
+++ b/share/library/Passive/resistor.lua
@@ -42,7 +42,7 @@ local render = function (cr)
cr:line_to (1.5, -0.5)
cr:line_to (1.5, 0.5)
cr:line_to (-1.5, 0.5)
- cr:line_to (-1.5, -0.5)
+ cr:close_path ()
-- The terminals
cr:move_to (-2, 0)