mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add missing arg_i++ to fix bug of s! in mrb_get_args.
This commit is contained in:
+1
-1
@@ -696,7 +696,7 @@ mrb_get_args(mrb_state *mrb, const char *format, ...)
|
||||
if (i < argc && mrb_nil_p(ARGV[arg_i])) {
|
||||
*ps = NULL;
|
||||
*pl = 0;
|
||||
i++;
|
||||
i++; arg_i++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user