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

Backported the changes in m_obj.c from vanilla commit 7e29725 by...

Backported the changes in m_obj.c from vanilla commit 7e29725 by millerpuckette; these fix the problem with secondary signal inlets not working without a main signalin.
parent d7432e4a
No related branches found
No related tags found
No related merge requests found
......@@ -691,10 +691,12 @@ int obj_siginletindex(t_object *x, int m)
{
int n = 0;
t_inlet *i;
if (x->ob_pd->c_firstin && x->ob_pd->c_floatsignalin)
if (x->ob_pd->c_firstin)
{
if (!m--) return (0);
n++;
if (!m--)
return (0);
if (x->ob_pd->c_floatsignalin)
n++;
}
for (i = x->ob_inlet; i; i = i->i_next, m--)
if (i->i_symfrom == &s_signal)
......
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