diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-09 03:01:54 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-09 03:01:54 +0900 |
| commit | bc663549eae0d16a2adb0cb0b1b68d34befe501c (patch) | |
| tree | bc2bbc4813fbfc722de76f60125e31c3aa0ab86c /src/string.c | |
| parent | 24839d74b278b5898d2803a926461f5ac2e73711 (diff) | |
| parent | bfc522bcd56b0be97c16a80dc00174eca5dd4fcc (diff) | |
| download | mruby-bc663549eae0d16a2adb0cb0b1b68d34befe501c.tar.gz mruby-bc663549eae0d16a2adb0cb0b1b68d34befe501c.zip | |
Merge pull request #1833 from cremno/use-mrb_str_cat_lit
use mrb_str_cat_lit for literals
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index 123a1dcb5..011ea91f9 100644 --- a/src/string.c +++ b/src/string.c @@ -2522,7 +2522,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; } |
