aboutsummaryrefslogtreecommitdiff
path: root/cooled~/cooled~.c
diff options
context:
space:
mode:
Diffstat (limited to 'cooled~/cooled~.c')
-rw-r--r--cooled~/cooled~.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cooled~/cooled~.c b/cooled~/cooled~.c
index c79ee1c..cec6c2a 100644
--- a/cooled~/cooled~.c
+++ b/cooled~/cooled~.c
@@ -592,7 +592,8 @@ static void cooled_save(t_gobj *z, t_binbuf *b)
binbuf_addv(b, "ssiisiiii", gensym("#X"),gensym("obj"),
(int)x->x_obj.te_xpix, (int)x->x_obj.te_ypix,
- gensym("cooled~"), x->x_size, x->x_width, x->x_height, x->x_draw );
+ atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)),
+ x->x_size, x->x_width, x->x_height, x->x_draw );
binbuf_addv(b, ";");
}