diff options
author | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2010-10-11 19:00:24 +0000 |
---|---|---|
committer | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2010-10-11 19:00:24 +0000 |
commit | fed569060c1f10dc85302caa518fcdbcabef000a (patch) | |
tree | c621c1e0045c24208f7451d358fd2fcb61b791be /src/param.c | |
parent | 1b72557df4495abaf5c2b90d06d99a55429e59c5 (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/param.c')
-rw-r--r-- | src/param.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/param.c b/src/param.c index fc8a152..733f40f 100644 --- a/src/param.c +++ b/src/param.c @@ -110,9 +110,9 @@ static void paramClass_anything(t_paramClass *x, t_symbol *s, int ac, t_atom *av #ifdef PARAMDEBUG post("RECEIVING SOMETHING"); #endif - if ( s == &s_bang || ac == 0 ) { + if ( s == &s_bang || ac == 0 ) { x->ac = 0; - x->selector = s; + x->selector = &s_bang; } else { if(ac > x->alloc) { x->av = resizebytes(x->av, x->alloc*sizeof(*(x->av)), |