diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-22 07:03:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-22 07:03:56 +0900 |
| commit | 9a10900a354173de5dd849f51ef7006954e954ed (patch) | |
| tree | f8cc28f2781a69c39445d8cf8d0bb592bdeff919 /src/vm.c | |
| parent | e35e2fff3fa292a343a9e244b3f0357a576efe83 (diff) | |
| parent | bc23a5e9e555f7a0b606856c417b9910ed92af68 (diff) | |
| download | mruby-9a10900a354173de5dd849f51ef7006954e954ed.tar.gz mruby-9a10900a354173de5dd849f51ef7006954e954ed.zip | |
Merge pull request #2104 from cremno/remove-mrb_str_buf_cat
remove `mrb_str_buf_cat`
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -564,8 +564,8 @@ localjump_error(mrb_state *mrb, localjump_error_kind kind) mrb_value exc; msg = mrb_str_buf_new(mrb, sizeof(lead) + 7); - mrb_str_buf_cat(mrb, msg, lead, sizeof(lead) - 1); - mrb_str_buf_cat(mrb, msg, kind_str[kind], kind_str_len[kind]); + mrb_str_cat(mrb, msg, lead, sizeof(lead) - 1); + mrb_str_cat(mrb, msg, kind_str[kind], kind_str_len[kind]); exc = mrb_exc_new_str(mrb, E_LOCALJUMP_ERROR, msg); mrb->exc = mrb_obj_ptr(exc); } |
