diff options
author | Matthias Kramm <kramm@quiss.org> | 2010-03-05 11:06:40 -0800 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2010-03-05 11:06:40 -0800 |
commit | 2c719855eac434f01d47ba0717d76de65939d74e (patch) | |
tree | 1eb25d23a6a4cd157e5dccf0a3b08b012aad5bc7 /lib/ruby | |
parent | 945b5b361b5def4d27205a39aa16b83adea34b43 (diff) |
fixed drawlink() ruby callback
Diffstat (limited to 'lib/ruby')
-rw-r--r-- | lib/ruby/gfx.c | 3 |
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) { |