aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/g_editor.c')
-rw-r--r--pd/src/g_editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index 89dd874c..f494732d 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -1916,8 +1916,8 @@ void canvas_menuclose(t_canvas *x, t_floatarg fforce)
}
else if (sys_perf)
{
- sys_vgui("pdtk_canvas_menuclose .x%lx {.x%lx menuclose 1;\n}\n",
- canvas_getrootfor(g), g);
+ sys_vgui("pdtk_check .x%lx {Close this window?} {.x%lx menuclose 1;\n} yes\n",
+ canvas_getrootfor(x), x);
}
else pd_free(&x->gl_pd);
}