mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-sprintf: fix a debug error message (remove additional "1").
This commit is contained in:
@@ -237,7 +237,7 @@ check_name_arg(mrb_state *mrb, int posarg, const char *name, size_t len)
|
||||
|
||||
#define GETNUM(n, val) do { \
|
||||
if (!(p = get_num(mrb, p, end, &(n)))) \
|
||||
mrb_raise(mrb, E_ARGUMENT_ERROR, #val " too big 1"); \
|
||||
mrb_raise(mrb, E_ARGUMENT_ERROR, #val " too big"); \
|
||||
} while(0)
|
||||
|
||||
#define GETASTER(num) do { \
|
||||
|
||||
Reference in New Issue
Block a user