diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-23 17:49:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-23 17:49:08 +0000 |
commit | b09014e3938c1707d823493fe699dffeb66d6b51 (patch) | |
tree | e477826615248eb0ec7e55f848f80cb9f5344e02 | |
parent | 0c6508d2181dde9ba4ccb6f3e7ff9a3ba02ad77b (diff) | |
download | ruby-b09014e3938c1707d823493fe699dffeb66d6b51.tar.gz ruby-b09014e3938c1707d823493fe699dffeb66d6b51.tar.xz ruby-b09014e3938c1707d823493fe699dffeb66d6b51.zip |
fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | enum.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Aug 23 21:59:38 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> + + * enum.c (sort_by_i): fix typo. + Thu Aug 23 10:10:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (is_defined): should not dump core for "defined?(())". @@ -208,7 +208,7 @@ sort_by_i(i, memo) VALUE i; NODE *memo; { - VALUE e = rb_ary_new3(3, rb_yield(e), INT2NUM(memo->u3.cnt), i); + VALUE e = rb_ary_new3(3, rb_yield(i), INT2NUM(memo->u3.cnt), i); rb_ary_push(memo->u1.value, e); memo->u3.cnt++; return Qnil; |