summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-03-09 03:16:28 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-03-09 03:16:28 +0900
commit4f27089b4ad915b7bda151a49694dcc8fbb4a2fc (patch)
tree1b245362973ffc134a277085ab29a924dcbac920 /src/string.c
parent6423011986aca8e71508a8ffe6df823e44c196bd (diff)
parentbc663549eae0d16a2adb0cb0b1b68d34befe501c (diff)
downloadmruby-4f27089b4ad915b7bda151a49694dcc8fbb4a2fc.tar.gz
mruby-4f27089b4ad915b7bda151a49694dcc8fbb4a2fc.zip
Merge branch 'master' of github.com:mruby/mruby
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 5f1f5b50b..3d3f084ca 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2535,7 +2535,7 @@ mrb_str_inspect(mrb_state *mrb, mrb_value str)
continue;
}
}
- mrb_str_buf_cat(mrb, result, "\"", 1);
+ mrb_str_cat_lit(mrb, result, "\"");
return result;
}