diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-01-05 04:19:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-01-05 04:19:58 +0000 |
commit | 1cc7986a113e9eb330f5f3579c75e0ccd817ddf8 (patch) | |
tree | 5360b3b8408c59f966d2f73847d57063c95a018b | |
parent | 8090c2f214e6c4f8981ccb4e6a1213bd1284fa08 (diff) | |
download | ruby-1cc7986a113e9eb330f5f3579c75e0ccd817ddf8.tar.gz |
* range.c (range_member): beginning check was
wrong. [ruby-talk:30252]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | range.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Jan 5 13:18:11 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> + + * range.c (range_member): beginning check was + wrong. [ruby-talk:30252] + Fri Jan 4 17:23:49 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> * misc/ruby-mode.el (ruby-forward-string): forward a string. [new] @@ -538,7 +538,7 @@ range_member(range, val) beg = rb_ivar_get(range, id_beg); end = rb_ivar_get(range, id_end); - if (r_lt(beg, val)) return Qtrue; + if (r_gt(beg, val)) return Qfalse; if (EXCL(range)) { if (r_lt(val, end)) return Qtrue; } |