aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-28 22:54:36 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-28 22:54:36 +0000
commit646a34653da33495f633576fd924cd978637b747 (patch)
tree0be2de3a191cfa15c6270e27480b53ea3fc1e0d2 /packages
parentb78e72b7b53c13c59e23ec264ff9c87f8db5d783 (diff)
quick kludge to disable the super annoying close confirm dialog
svn path=/trunk/; revision=5026
Diffstat (limited to 'packages')
-rw-r--r--packages/patches/disable_close_confirm-0.39.2.patch21
1 files changed, 21 insertions, 0 deletions
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)