diff --git a/source/include/FluidMaxWrapper.hpp b/source/include/FluidMaxWrapper.hpp index fef5c5c7..28d4d791 100644 --- a/source/include/FluidMaxWrapper.hpp +++ b/source/include/FluidMaxWrapper.hpp @@ -1600,11 +1600,11 @@ class FluidMaxWrapper if (!x->mAutosize && ac != x->mListSize) { - object_warn((t_object*)x, "bad input list size (%d), expect %d",ac,x->mListSize); + object_warn((t_object*)x, "bad input list size (%d), expected %d",ac,x->mListSize); return; } - if (x->mAutosize) + if (x->mAutosize && isControlOutFollowsIn) x->resizeListHandlers(ac); x->mListHandler(x, ac, av); @@ -1740,12 +1740,15 @@ class FluidMaxWrapper { long argCount{0}; - if (isControlOutFollowsIn) + if (isControlIn) { mListSize = atom_getlong(av); - numArgs -= 1; - av += 1; - ac--; + if (isControlOutFollowsIn) + { + numArgs -= 1; + av += 1; + ac--; + } } auto r1 = mParams.setPrimaryParameterValues(true,