Commit 074c6e26 authored by takahashim's avatar takahashim

fix String#inspect with MRB_UTF8_STRING

cf. #2963
parent 0aa83c50
......@@ -2586,7 +2586,7 @@ mrb_str_inspect(mrb_state *mrb, mrb_value str)
buf[i] = p[i];
}
mrb_str_cat(mrb, result, buf, clen);
p += clen;
p += clen-1;
continue;
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment