summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-11-04 13:56:08 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-11-04 13:56:08 +0900
commitc903910c6b8f82b7f158a189b1671296618b0fe0 (patch)
tree21acd324ea56ce7ee958bdabd87eb98da9f36375 /src/string.c
parent3e22c939e6f1968c46e251c363de49c1fd0fd9f1 (diff)
downloadmruby-c903910c6b8f82b7f158a189b1671296618b0fe0.tar.gz
mruby-c903910c6b8f82b7f158a189b1671296618b0fe0.zip
replace RBASIC by mrb_basic
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 055e5aace..760b02883 100644
--- a/src/string.c
+++ b/src/string.c
@@ -1317,7 +1317,7 @@ str_gsub(mrb_state *mrb, mrb_value str, mrb_int bang)
mrb_str_buf_cat(mrb, dest, cp, RSTRING_LEN(str) - offset);
}
mrb_reg_search(mrb, pat, str, last, 0);
- RBASIC(dest)->c = mrb_obj_class(mrb, str);
+ mrb_basic(dest)->c = mrb_obj_class(mrb, str);
return str;
}