summaryrefslogtreecommitdiff
path: root/lib/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ruby')
-rw-r--r--lib/ruby/gfx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ruby/gfx.c b/lib/ruby/gfx.c
index 5ea59cd3..63156782 100644
--- a/lib/ruby/gfx.c
+++ b/lib/ruby/gfx.c
@@ -625,7 +625,8 @@ void rb_drawlink(gfxdevice_t*dev, gfxline_t*line, const char*action)
HEAD
volatile VALUE v_line = convert_line(line);
volatile VALUE v_action = rb_tainted_str_new2(action);
- forward(v, id_drawlink, v_line, v_action);
+
+ forward(v, id_drawlink, 2, v_line, v_action);
}
void rb_endpage(gfxdevice_t*dev)
{