aboutsummaryrefslogtreecommitdiff
path: root/sonogram~/sonogram~-joge.c
diff options
context:
space:
mode:
Diffstat (limited to 'sonogram~/sonogram~-joge.c')
-rw-r--r--sonogram~/sonogram~-joge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonogram~/sonogram~-joge.c b/sonogram~/sonogram~-joge.c
index 62a23c3..b7e93bc 100644
--- a/sonogram~/sonogram~-joge.c
+++ b/sonogram~/sonogram~-joge.c
@@ -868,7 +868,8 @@ static void sonogram_save(t_gobj *z, t_binbuf *b)
binbuf_addv(b, "ssiisiii", gensym("#X"),gensym("obj"),
(t_int)x->x_xpos, (t_int)x->x_ypos,
- gensym("sonogram~"), x->x_size, x->x_graphic, x->x_phaso );
+ atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)),
+ x->x_size, x->x_graphic, x->x_phaso );
binbuf_addv(b, ";");
}