aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-02-25 11:27:21 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-02-25 11:27:21 +0000
commit35a880b2b34e2c9f92f726745a4e788753b3fada (patch)
tree171753605c37f52bf47c7b223e91045d28a9f152
parent9a67203035c21278862c9810bbbe3d647255002d (diff)
in order to print a t_symbol, you have to use ->s_name
svn path=/trunk/externals/pmpd/; revision=14964
-rw-r--r--pmpd3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pmpd3d.c b/pmpd3d.c
index 644eafa..7137623 100644
--- a/pmpd3d.c
+++ b/pmpd3d.c
@@ -113,9 +113,9 @@ t_float tabread2(t_pmpd3d *x, t_float pos, t_symbol *array)
t_float posx;
if (!(a = (t_garray *)pd_findbyclass(array, garray_class)))
- pd_error(x, "%s: no such array", array);
+ pd_error(x, "%s: no such array", array->s_name);
else if (!garray_getfloatwords(a, &npoints, &vec))
- pd_error(x, "%s: bad template for tabLink", array);
+ pd_error(x, "%s: bad template for tabLink", array->s_name);
else
{
posx = fabs(pos)*npoints;