aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/relay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/relay.c b/src/relay.c
index e1ea476..246e1f2 100644
--- a/src/relay.c
+++ b/src/relay.c
@@ -82,6 +82,9 @@ static void relay_list(t_relay *x, t_symbol *sel, int argc, t_atom *argv)
f = atom_getfloat(argv);
for (nelement = x->x_nelement, e = x->x_vec; nelement--; e++) {
if (e->e_w.w_float == f) {
+ if (!sel) {
+ sel=(argc==1)?gensym("float"):gensym("list");
+ }
outlet_anything(e->e_outlet, sel, argc, argv);
return;
}