diff options
| author | cremno <[email protected]> | 2014-04-21 21:24:00 +0200 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-04-21 21:28:06 +0200 |
| commit | bc23a5e9e555f7a0b606856c417b9910ed92af68 (patch) | |
| tree | e6e5d9a9f13f8a427090a11b3da251a3644cb14a /src/vm.c | |
| parent | db6e8682654ec71d7aca7b3d03119e9440a7f5b1 (diff) | |
| download | mruby-bc23a5e9e555f7a0b606856c417b9910ed92af68.tar.gz mruby-bc23a5e9e555f7a0b606856c417b9910ed92af68.zip | |
remove `mrb_str_buf_cat`
It does the same as `mrb_str_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); } |
