diff --git a/pd/src/x_connective.c b/pd/src/x_connective.c index 90df22ec06dccaa7bfb13b746c978920876a9111..fcc5bd3bab9a32b0f54fcd0dff27242691c96d24 100644 --- a/pd/src/x_connective.c +++ b/pd/src/x_connective.c @@ -977,6 +977,9 @@ typedef struct _trigger t_triggerout *x_vec; } t_trigger; +// forward declaration +static void trigger_symbol(t_trigger *x, t_symbol *s); + static void *trigger_new(t_symbol *s, int argc, t_atom *argv) { t_trigger *x = (t_trigger *)pd_new(trigger_class); @@ -1100,8 +1103,8 @@ static void trigger_anything(t_trigger *x, t_symbol *s, int argc, t_atom *argv) else if (u->u_type == TR_STATIC_SYMBOL) { outlet_symbol(u->u_outlet, &u->u_sym); - } - else pd_error(x, "trigger: can only convert 'a' to 'b' or 'a'"); + } + else trigger_symbol(x, s); } }