aboutsummaryrefslogtreecommitdiff
path: root/sql_query.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-22 20:28:07 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-22 20:28:07 +0000
commitd6e59fc16ef15ae34a23a667c24c524de98d8e25 (patch)
treed021849173f783c414de52e2ddd3c9e419f2a02d /sql_query.c
parent7f37d43dac595b2dd8c7ff7d2de8ec619cfe5ad7 (diff)
got the set_atom function working on the first inlet with symbols, now got to get the rest of the inlets working
svn path=/trunk/externals/hcs/; revision=9102
Diffstat (limited to 'sql_query.c')
-rw-r--r--sql_query.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql_query.c b/sql_query.c
index 56e126a..f051a91 100644
--- a/sql_query.c
+++ b/sql_query.c
@@ -114,7 +114,7 @@ static void proxy_inlet_setup(void)
static void sql_query_set_atom(t_sql_query *x, int atom_num, t_symbol *s, t_atom *a)
{
DEBUG(post("sql_query_set_atom"););
- if( (s == &s_symbol) || (s == &s_list) )
+ if( (s == &s_symbol) || (s == &s_list) || (s == &s_float) )
{
char buf[MAXPDSTRING];
atom_string(a, &buf, MAXPDSTRING);
@@ -123,7 +123,6 @@ static void sql_query_set_atom(t_sql_query *x, int atom_num, t_symbol *s, t_atom
}
else
{
- post("blah");
SETSYMBOL(&x->atoms[atom_num], s);
post("selector set %s", s->s_name);
}