aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/funbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer/funbuff.c')
-rw-r--r--cyclone/hammer/funbuff.c2
1 files changed, 1 insertions, 1 deletions
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);