summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-08-27 23:48:34 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-08-27 23:48:34 +0900
commit7a25b53301bd92ec7dfd1490c3b8420c448670f0 (patch)
tree08e0b75000cdfe4db6ff82f5858f890df95fd0bf /src/string.c
parent0d400477933f09f1017db5a87bd14ff4d9348cff (diff)
parent3202938099c6eabbfa387b2464c4a607a1972fc0 (diff)
downloadmruby-7a25b53301bd92ec7dfd1490c3b8420c448670f0.tar.gz
mruby-7a25b53301bd92ec7dfd1490c3b8420c448670f0.zip
Merge pull request #2567 from cubicdaiya/issues/space_after_comma2
Add a missing space after ",".
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index e8632e5e4..a0a069c06 100644
--- a/src/string.c
+++ b/src/string.c
@@ -148,7 +148,7 @@ str_new(mrb_state *mrb, const char *p, size_t len)
s = mrb_obj_alloc_string(mrb);
if (len < RSTRING_EMBED_LEN_MAX) {
RSTR_SET_EMBED_FLAG(s);
- RSTR_SET_EMBED_LEN(s,len);
+ RSTR_SET_EMBED_LEN(s, len);
if (p) {
memcpy(s->as.ary, p, len);
}