Skip to content
Snippets Groups Projects
Commit a2540dc9 authored by Albert Gräf's avatar Albert Gräf Committed by Albert Gräf
Browse files

Bugfix (bassemu_list, bogus assignment, changed to equality).

parent 939948df
No related branches found
No related tags found
1 merge request!515Various bugfixes
......@@ -311,7 +311,7 @@ static void bassemu_list(t_bassemu *x, t_symbol *s, int argc, t_atom *argv)
}
if (argc >= 1)
{
if(argv[0].a_type = A_FLOAT && (atom_getfloatarg(0,argc,argv) != -1))
if(argv[0].a_type == A_FLOAT && (atom_getfloatarg(0,argc,argv) != -1))
{ // note
x->thisnote = atom_getfloatarg(0,argc,argv)-57;
x->vco_inc = ((x->tune/x->sr)*pow(2, (x->thisnote)*(1.0/12.0)) / 2.);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment