diff options
Diffstat (limited to 'cyclone/hammer')
-rw-r--r-- | cyclone/hammer/Table.c | 2 | ||||
-rw-r--r-- | cyclone/hammer/comment.c | 2 | ||||
-rw-r--r-- | cyclone/hammer/funbuff.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cyclone/hammer/Table.c b/cyclone/hammer/Table.c index 00043f0..488ce20 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", gensym("table")); + binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(x->x_obj.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); 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, diff --git a/cyclone/hammer/funbuff.c b/cyclone/hammer/funbuff.c index cde29f3..2aeb082 100644 --- a/cyclone/hammer/funbuff.c +++ b/cyclone/hammer/funbuff.c @@ -227,7 +227,7 @@ static void funbuff_dowrite(t_funbuff *x, t_symbol *fn) t_binbuf *bb = binbuf_new(); char buf[MAXPDSTRING]; t_hammernode *np; - binbuf_addv(bb, "s", gensym("funbuff")); + binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf))); for (np = x->x_tree.t_first; np; np = np->n_next) binbuf_addv(bb, "if", np->n_key, HAMMERNODE_GETFLOAT(np)); canvas_makefilename(x->x_canvas, fn->s_name, buf, MAXPDSTRING); |