MRI-Binding: Typo in Flashable binding
This commit is contained in:
parent
cc0ab35f10
commit
b7af8cc92f
|
@ -38,7 +38,7 @@ RB_METHOD(flashableFlash)
|
||||||
|
|
||||||
rb_get_args(argc, argv, "oi", &colorObj, &duration RB_ARG_END);
|
rb_get_args(argc, argv, "oi", &colorObj, &duration RB_ARG_END);
|
||||||
|
|
||||||
if (NIL_P(rb_type(colorObj)))
|
if (NIL_P(colorObj))
|
||||||
{
|
{
|
||||||
f->flash(0, duration);
|
f->flash(0, duration);
|
||||||
return Qnil;
|
return Qnil;
|
||||||
|
|
Loading…
Reference in New Issue