Fixed wrong condition in #4926 fix.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-01-10 23:05:27 +09:00
parent 70e5746896
commit 2742ded32f
+1 -1
View File
@@ -913,7 +913,7 @@ mrb_get_args(mrb_state *mrb, const char *format, ...)
{
mrb_value **var;
mrb_int *pl;
mrb_bool nocopy = altmode || argv_on_stack ? FALSE : TRUE;
mrb_bool nocopy = (altmode || !argv_on_stack) ? TRUE : FALSE;
var = va_arg(ap, mrb_value**);
pl = va_arg(ap, mrb_int*);