aboutsummaryrefslogtreecommitdiff
path: root/grid
diff options
context:
space:
mode:
Diffstat (limited to 'grid')
-rw-r--r--grid/grid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/grid/grid.c b/grid/grid.c
index f3317b4..4db389f 100644
--- a/grid/grid.c
+++ b/grid/grid.c
@@ -276,7 +276,8 @@ static void grid_save(t_gobj *z, t_binbuf *b)
// post( "saving grid : %s", x->x_name->s_name );
binbuf_addv(b, "ssiissiffiffiffiiff", gensym("#X"),gensym("obj"),
(t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix,
- gensym("grid"), x->x_name, x->x_width, x->x_min,
+ atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)),
+ x->x_name, x->x_width, x->x_min,
x->x_max, x->x_height,
x->y_min, x->y_max,
x->x_grid, x->x_xstep,