From e6812c77e47416a3152506865324deafcda64f3a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 29 Oct 2007 18:58:45 +0000 Subject: Following this thread: http://lists.puredata.info/pipermail/pd-dev/2007-10/009797.html I have changed the save functions so that they will save the name of the object that it was actually instantiated with. This allows objects with savefns to work properly with namespaces. This is a fix for this bug: http://sourceforge.net/tracker/index.php?&aid=1818219&group_id=55736&atid=478070 svn path=/trunk/externals/miXed/; revision=8902 --- cyclone/hammer/comment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cyclone/hammer/comment.c') diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c index 6a52bb8..b3ac7a6 100644 --- a/cyclone/hammer/comment.c +++ b/cyclone/hammer/comment.c @@ -455,7 +455,7 @@ static void comment_save(t_gobj *z, t_binbuf *b) comment_validate(x, 0); binbuf_addv(b, "ssiisiissiiii", gensym("#X"), gensym("obj"), (int)t->te_xpix, (int)t->te_ypix, - gensym("comment"), + atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), x->x_pixwidth, x->x_fontsize, x->x_fontfamily, (x->x_encoding ? x->x_encoding : gensym("?")), x->x_fontprops, -- cgit v1.2.1