mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-string-ext: fix a typo; ref #6016
This commit is contained in:
@@ -1071,7 +1071,7 @@ str_codepoints(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
mrb_value result;
|
||||
char *p = RSTRING_PTR(self);
|
||||
char *e = b + RSTRING_LEN(self);
|
||||
char *e = p + RSTRING_LEN(self);
|
||||
|
||||
mrb->c->ci->mid = 0;
|
||||
result = mrb_ary_new(mrb);
|
||||
|
||||
Reference in New Issue
Block a user