From 15c0288885b0c7d7a0cc89a2ef68916dac71e388 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 31 Oct 2007 05:42:54 +0000 Subject: fixed problems with the classname stuff I just added: - some objects use "x_ob" instead of the standard "x_obj" - Table puts the t_object in some other struct - Scope~ hides the t_object under some layer that's beyond me svn path=/trunk/externals/miXed/; revision=8911 --- cyclone/hammer/Table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cyclone/hammer/Table.c') diff --git a/cyclone/hammer/Table.c b/cyclone/hammer/Table.c index 488ce20..0d28941 100644 --- a/cyclone/hammer/Table.c +++ b/cyclone/hammer/Table.c @@ -316,7 +316,7 @@ static void tablecommon_dowrite(t_tablecommon *cc, t_symbol *fn, t_canvas *cv) strncpy(buf, fn->s_name, MAXPDSTRING); buf[MAXPDSTRING-1] = 0; } - binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf))); + binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(cc->c_refs->x_ob.te_binbuf))); for (ndx = 0, ptr = cc->c_table; ndx < cc->c_length; ndx++, ptr++) binbuf_addv(bb, "i", *ptr); binbuf_write(bb, buf, "", 0); -- cgit v1.2.1