aboutsummaryrefslogtreecommitdiff
path: root/src/paramRoute.h
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2010-10-11 19:00:24 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2010-10-11 19:00:24 +0000
commitfed569060c1f10dc85302caa518fcdbcabef000a (patch)
treec621c1e0045c24208f7451d358fd2fcb61b791be /src/paramRoute.h
parent1b72557df4495abaf5c2b90d06d99a55429e59c5 (diff)
Fixed a fix in updating the gui when it was created by param gui. param route also changes empty messages into bangs
svn path=/trunk/externals/tof/; revision=14225
Diffstat (limited to 'src/paramRoute.h')
-rw-r--r--src/paramRoute.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/paramRoute.h b/src/paramRoute.h
index 5d94e30..df06cb1 100644
--- a/src/paramRoute.h
+++ b/src/paramRoute.h
@@ -23,7 +23,13 @@ static void paramRoute_anything(t_paramRoute *x, t_symbol *s, int ac, t_atom *av
t_param* p = get_param_list(x->root);
#endif
- if (ac) {
+ if (ac == 0) {
+ // Its a bang?
+ ac = 1;
+ t_atom a;
+ SETSYMBOL(&a,&s_bang);
+ av = &a;
+ }
if ( s->s_name[0] == '/' && strlen(s->s_name) > 1) {
@@ -59,7 +65,7 @@ static void paramRoute_anything(t_paramRoute *x, t_symbol *s, int ac, t_atom *av
} else {
outlet_anything(x->x_outlet,s,ac,av);
}
- }
+
}