1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-01-11 11:34:12 +00:00
parent 391d81e54d
commit 5a17f4c4a3

2
enum.c
View file

@ -893,7 +893,7 @@ enum_sort_by(VALUE obj)
RETURN_ENUMERATOR(obj, 0, 0); RETURN_ENUMERATOR(obj, 0, 0);
if (TYPE(obj) == T_ARRAY && RARRAY_LEN(obj) <= LONG_MAX/2) { if (TYPE(obj) == T_ARRAY && RARRAY_LEN(obj) <= LONG_MAX/2) {
ary = rb_ary_new2(RARRAY_LEN(obj)*2); ary = rb_ary_new2(RARRAY_LEN(obj)*2);
} }
else { else {
ary = rb_ary_new(); ary = rb_ary_new();