summaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-31 16:53:04 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-31 16:53:04 +0000
commit15cc2a7bc9fcfb39f37850534d1f26de53dac4fb (patch)
tree8dc7dcf295a3311d1b3daa5f217c75378e9903b6 /enum.c
parent5c03de434e2e12532b67bee90aba3246439ce8d9 (diff)
downloadruby-15cc2a7bc9fcfb39f37850534d1f26de53dac4fb.tar.gz
ruby-15cc2a7bc9fcfb39f37850534d1f26de53dac4fb.tar.xz
ruby-15cc2a7bc9fcfb39f37850534d1f26de53dac4fb.zip
* enum.c (enum_drop): fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 8ae49a94f..968250c32 100644
--- a/enum.c
+++ b/enum.c
@@ -1491,8 +1491,8 @@ enum_drop(VALUE obj, VALUE n)
{
VALUE args[2];
- args[0] = rb_ary_new2(args[1]);
args[1] = NUM2ULONG(n);
+ args[0] = rb_ary_new2(args[1]);
rb_block_call(obj, id_each, 0, 0, drop_i, (VALUE)args);
return args[0];
}