aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-01 03:19:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-01 03:19:43 +0000
commitf553dcca3d3b5600161db6d8bf7369527078d992 (patch)
tree5c1800ce133965edc0a930a5df13a200a4a0a97b
parent15c0288885b0c7d7a0cc89a2ef68916dac71e388 (diff)
fixed widget_save, it doesn't use the standard structs, but instead seems to have the same struct layout as Scope~
svn path=/trunk/externals/miXed/; revision=8920
-rw-r--r--toxy/widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxy/widget.c b/toxy/widget.c
index b0ab4de..e3517e3 100644
--- a/toxy/widget.c
+++ b/toxy/widget.c
@@ -470,7 +470,7 @@ static void widget_save(t_gobj *z, t_binbuf *bb)
t_atom *arg = props_getall(x->x_arguments, &narg);
binbuf_addv(bb, "ssiisss", gensym("#X"), gensym("obj"),
(int)t->te_xpix, (int)t->te_ypix,
- atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)),
+ atom_getsymbol(binbuf_getvec(t->te_binbuf)),
x->x_type, x->x_name);
if (narg) binbuf_add(bb, narg, arg);
if (nopt) binbuf_add(bb, nopt, opt);