* expand tabs.
This commit is contained in:
parent
9dec4e8fc3
commit
c770c98ac4
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…
x
Reference in New Issue
Block a user