Commit 8d80f47c authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

prevent invalid read

parent 223c422b
......@@ -104,7 +104,7 @@ static void *polygate_new(t_symbol *s, int argc, t_atom *argv)
x->fadetype = x->lastfadetype = LINEAR;
}
}
else
else if (!usedefault)
{
if(argv[1].a_w.w_float >= EPMIN)
x->fadetype = x->lastfadetype = EPOWER;
......
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