mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
9dec4e8fc3
commit
c770c98ac4
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -1180,7 +1180,7 @@ str_replace_shared_without_enc(VALUE str2, VALUE str)
|
||||||
FL_SET(str2, STR_NOEMBED);
|
FL_SET(str2, STR_NOEMBED);
|
||||||
RSTRING(str2)->as.heap.len = len;
|
RSTRING(str2)->as.heap.len = len;
|
||||||
RSTRING(str2)->as.heap.ptr = ptr;
|
RSTRING(str2)->as.heap.ptr = ptr;
|
||||||
STR_SET_SHARED(str2, root);
|
STR_SET_SHARED(str2, root);
|
||||||
}
|
}
|
||||||
return str2;
|
return str2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue