Skip to content
Snippets Groups Projects
Commit 8bf8f645 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix error where the "$@" variable was overwriting the bounds variable for the...

fix error where the "$@" variable was overwriting the bounds variable for the loop used to check for its existence
parent 0231ce07
No related branches found
No related tags found
No related merge requests found
...@@ -688,8 +688,8 @@ void binbuf_eval(t_binbuf *x, t_pd *target, int argc, t_atom *argv) ...@@ -688,8 +688,8 @@ void binbuf_eval(t_binbuf *x, t_pd *target, int argc, t_atom *argv)
//first we need to check if the list of arguments has $@ //first we need to check if the list of arguments has $@
//fprintf(stderr,"=========\nbinbuf_eval argc:%d ac:%d\n", argc, (int)ac); //fprintf(stderr,"=========\nbinbuf_eval argc:%d ac:%d\n", argc, (int)ac);
int count; int count, old_ac = ac;
for (count = 0; count < ac; count++) for (count = 0; count < old_ac; count++)
{ {
//fprintf(stderr, "count %d\n", count); //fprintf(stderr, "count %d\n", count);
if (at[count].a_type == A_DOLLAR && if (at[count].a_type == A_DOLLAR &&
......
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