aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/made_print_post_all_arguments-0.40.3.patch
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-07-21 22:07:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-07-21 22:07:40 +0000
commit6a40415e3ab3b67dc2a9515727e74307235bd839 (patch)
treefe80341c55726fa94f870d7256a2a8337f26a056 /packages/patches/made_print_post_all_arguments-0.40.3.patch
parent37453bcbffb55590eb460499aec9f63f04da5d1a (diff)
first big round of patches accepted by Miller into 0.43
svn path=/trunk/; revision=13724
Diffstat (limited to 'packages/patches/made_print_post_all_arguments-0.40.3.patch')
-rw-r--r--packages/patches/made_print_post_all_arguments-0.40.3.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/patches/made_print_post_all_arguments-0.40.3.patch b/packages/patches/made_print_post_all_arguments-0.40.3.patch
deleted file mode 100644
index 5abec468..00000000
--- a/packages/patches/made_print_post_all_arguments-0.40.3.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- x_interface.c 2007/11/25 03:31:05 1.3.6.1
-+++ x_interface.c 2007/12/04 21:54:46 1.3.6.3
-@@ -17,12 +17,22 @@
-
- static void *print_new(t_symbol *s, int argc, t_atom *argv)
- {
-+ int bufsize;
-+ char *buf;
- t_print *x = (t_print *)pd_new(print_class);
-- x->x_sym = atom_getsymbolarg(0,argc,argv);
-- if (x->x_sym == &s_)
-- x->x_sym = atom_getfloatarg(0,argc,argv);
-- if (*s->s_name) x->x_sym = s;
-- else x->x_sym = gensym("print");
-+ if (argc)
-+ {
-+ t_binbuf *bb = binbuf_new();
-+ binbuf_add(bb, argc, argv);
-+ binbuf_gettext(bb, &buf, &bufsize);
-+ buf[bufsize] = 0;
-+ x->x_sym = gensym(buf);
-+ binbuf_free(bb);
-+ }
-+ else
-+ {
-+ x->x_sym = gensym("print");
-+ }
- return (x);
- }
-