From 646a34653da33495f633576fd924cd978637b747 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 28 Apr 2006 22:54:36 +0000 Subject: quick kludge to disable the super annoying close confirm dialog svn path=/trunk/; revision=5026 --- packages/patches/disable_close_confirm-0.39.2.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/patches/disable_close_confirm-0.39.2.patch (limited to 'packages/patches') diff --git a/packages/patches/disable_close_confirm-0.39.2.patch b/packages/patches/disable_close_confirm-0.39.2.patch new file mode 100644 index 00000000..1b954322 --- /dev/null +++ b/packages/patches/disable_close_confirm-0.39.2.patch @@ -0,0 +1,21 @@ +Index: g_editor.c +=================================================================== +RCS file: /cvsroot/pure-data/pd/src/g_editor.c,v +retrieving revision 1.13 +diff -u -w -r1.13 g_editor.c +--- g_editor.c 15 Sep 2005 03:17:27 -0000 1.13 ++++ g_editor.c 28 Apr 2006 22:40:57 -0000 +@@ -1688,9 +1688,10 @@ + } + else + { +- sys_vgui( +-"pdtk_check {Close this window??} {.x%lx menuclose 1;\n} yes\n", +- x); ++/* sys_vgui( */ ++/* "pdtk_check {Close this window??} {.x%lx menuclose 1;\n} yes\n", */ ++/* x); */ ++ pd_free(&x->gl_pd); + } + } + else if (force == 1) -- cgit v1.2.1