diff --git a/pd/src/g_numbox.c b/pd/src/g_numbox.c index 47f4abeb28345edf4b52e108c56d70d55a91408a..d79ba61eddbfdcf9def9077c304a3f72895cbedf 100644 --- a/pd/src/g_numbox.c +++ b/pd/src/g_numbox.c @@ -170,7 +170,7 @@ static void my_numbox_draw_new(t_my_numbox *x, t_glist *glist) y1, x2 - x1, y2 - y1, - glist_istoplevel(canvas)); + glist_istoplevel(glist)); /* Not sure when it is necessary to hide the frame... perhaps for k12? */ if (!x->x_hide_frame || x->x_hide_frame == 2)