Skip to content

Commit

Permalink
Fixed rb_io_addstr.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Jul 5, 2012
1 parent bc62e2c commit 29f26f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vm/capi/io.cpp
Expand Up @@ -117,7 +117,8 @@ extern "C" {
}

VALUE rb_io_addstr(VALUE io, VALUE str) {
return rb_io_write(io, str);
rb_io_write(io, str);
return io;
}

VALUE rb_io_print(int argc, VALUE *argv, VALUE io) {
Expand Down

0 comments on commit 29f26f5

Please sign in to comment.