From 665e5e4ff584237c1e3aac97d59995ec8ddda817 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Thu, 5 Feb 2009 03:28:27 +0000 Subject: 0.42-4. Fixes "send" template bug, "gfxstub" bug, 2 pd~ bugs svn path=/trunk/; revision=10737 --- pd/src/x_connective.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pd/src/x_connective.c') diff --git a/pd/src/x_connective.c b/pd/src/x_connective.c index 8687154e..b9093f46 100644 --- a/pd/src/x_connective.c +++ b/pd/src/x_connective.c @@ -1245,7 +1245,8 @@ static void makefilename_scanformat(t_makefilename *x) static void *makefilename_new(t_symbol *s) { t_makefilename *x = (t_makefilename *)pd_new(makefilename_class); - if (!s || !s->s_name) s = gensym("file.%d"); + if (!s || !*s->s_name) + s = gensym("file.%d"); outlet_new(&x->x_obj, &s_symbol); x->x_format = s; x->x_accept = A_NULL; -- cgit v1.2.1