diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-20 09:20:30 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-20 09:20:30 +0000 |
commit | 3d699ae9ffc32665e8f9117c4149e2ae03123bdf (patch) | |
tree | 3c1a24bf6edd888510370d62650def9760769ded /string.c | |
parent | e31a0443ceb78acbc46f9328da58d204f320dd22 (diff) |
-a -> -a- ^^;;
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -913,7 +913,7 @@ str_sub_s(str, pat, val, once) } if (once) break; - if (offset >= STRLEN(str)) break; + if (offset > STRLEN(str)) break; } if (n == 0) return Qnil; if (RSTRING(str)->len > offset) { @@ -996,7 +996,7 @@ str_sub_iter_s(str, pat, once) } if (once) break; - if (offset >= STRLEN(str)) break; + if (offset > STRLEN(str)) break; } if (n == 0) return Qnil; if (RSTRING(str)->len > offset) { |