Commit 2667371e authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1796 from mattn/fix_1793

Fix #1793
parents 47d1701f d59b738b
...@@ -76,7 +76,7 @@ get_opt(mrb_state* mrb) ...@@ -76,7 +76,7 @@ get_opt(mrb_state* mrb)
{ {
mrb_value arg; mrb_value arg;
arg = mrb_fixnum_value(0); arg = mrb_nil_value();
mrb_get_args(mrb, "|o", &arg); mrb_get_args(mrb, "|o", &arg);
if (!mrb_nil_p(arg)) { if (!mrb_nil_p(arg)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment