diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-22 05:57:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-22 05:57:08 +0000 |
commit | a84982e1292e8e854ab289d3d3c2ae86a195e1b3 (patch) | |
tree | 9e01fb4005a33ef34910b9d8f6f8fb2b8654db46 /compar.c | |
parent | edbe98d848e4872654bb5273a6a8250492026c18 (diff) |
minor bug fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compar.c')
-rw-r--r-- | compar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ cmp_equal(x, y) { VALUE c = rb_funcall(x, cmp, 1, y); - if (NIL_P(c)) return Qnil; + if (NIL_P(c)) return Qfalse; if (NUM2LONG(c) == 0) return Qtrue; return Qfalse; } |