From 551ef27490bf380e46453846c040b48596f34a6a Mon Sep 17 00:00:00 2001 From: git Date: Fri, 21 Jun 2019 22:48:50 +0900 Subject: [PATCH] * expand tabs. --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 5a91f6bcda1a70..030465235aa3db 100644 --- a/string.c +++ b/string.c @@ -5087,7 +5087,7 @@ rb_str_sub_bang(int argc, VALUE *argv, VALUE str) if (rlen != plen) { memmove(p + beg0 + rlen, p + beg0 + plen, len - beg0 - plen); } - memmove(p + beg0, rp, rlen); + memmove(p + beg0, rp, rlen); len += rlen - plen; STR_SET_LEN(str, len); TERM_FILL(&RSTRING_PTR(str)[len], TERM_LEN(str));