mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f9731654e
commit
64148e66b6
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -8501,7 +8501,7 @@ rb_str_enumerate_grapheme_clusters(VALUE str, VALUE ary)
|
|||
(const OnigUChar *)ptr, (const OnigUChar *)end,
|
||||
(const OnigUChar *)ptr, NULL, 0);
|
||||
if (len <= 0) break;
|
||||
ENUM_ELEM(ary, rb_str_subseq(str, ptr-ptr0, len));
|
||||
ENUM_ELEM(ary, rb_str_subseq(str, ptr-ptr0, len));
|
||||
ptr += len;
|
||||
}
|
||||
RB_GC_GUARD(str);
|
||||
|
|
Loading…
Reference in a new issue