Skip to content

Commit

Permalink
mruby-string-ext: fix a typo; ref #6016
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Sep 23, 2023
1 parent 8a538c4 commit 15bb6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-string-ext/src/string.c
Expand Up @@ -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);
Expand Down

0 comments on commit 15bb6a9

Please sign in to comment.