string.c: adjust style [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2881374caf
commit
a77cb8c80f
3
string.c
3
string.c
@ -2937,7 +2937,8 @@ rb_str_concat_multi(int argc, VALUE *argv, VALUE str)
|
|||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
return rb_str_concat(str, argv[0]);
|
return rb_str_concat(str, argv[0]);
|
||||||
} else if (argc > 1) {
|
}
|
||||||
|
else if (argc > 1) {
|
||||||
int i;
|
int i;
|
||||||
VALUE arg_str = rb_str_tmp_new(0);
|
VALUE arg_str = rb_str_tmp_new(0);
|
||||||
rb_enc_copy(arg_str, str);
|
rb_enc_copy(arg_str, str);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user