summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog4
-rw-r--r--enum.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 79d344efb..231bb24a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Nov 1 01:52:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * enum.c (enum_drop): fix typo.
+
Thu Nov 1 01:51:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.
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];
}