aboutsummaryrefslogtreecommitdiff
path: root/pd/src/x_connective.c
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2009-02-05 03:28:27 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2009-02-05 03:28:27 +0000
commit665e5e4ff584237c1e3aac97d59995ec8ddda817 (patch)
tree8dddd344a301b359f4135fc97c3e3b6c7cc2ff77 /pd/src/x_connective.c
parentbe515e5f170a43d88b28b8dad6c6fe7064359df6 (diff)
0.42-4. Fixes "send" template bug, "gfxstub" bug, 2 pd~ bugs
svn path=/trunk/; revision=10737
Diffstat (limited to 'pd/src/x_connective.c')
-rw-r--r--pd/src/x_connective.c3
1 files changed, 2 insertions, 1 deletions
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;