diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-28 05:42:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-28 05:42:23 +0000 |
commit | a59cf8edc58d46e9cf5d39d2f1999e27939304a8 (patch) | |
tree | 6d7a2f583a478d8a571baa8d50ca2afc1e84a9c5 /array.c | |
parent | 3b4641a4bf1fafce6f91295f4340aa3d900faddc (diff) | |
download | ruby-a59cf8edc58d46e9cf5d39d2f1999e27939304a8.tar.gz |
* array.c (rb_cmpint): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1067,8 +1067,8 @@ rb_cmpint(cmp) if (RBIGNUM(cmp)->sign) return 1; return -1; } - if (rb_funcall(id_cmp, '>', 1, INT2FIX(0))) return 1; - if (rb_funcall(id_cmp, '<', 1, INT2FIX(0))) return -1; + if (rb_funcall(cmp, '>', 1, INT2FIX(0))) return 1; + if (rb_funcall(cmp, '<', 1, INT2FIX(0))) return -1; return 0; } |