aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/g_template.c')
-rw-r--r--pd/src/g_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/g_template.c b/pd/src/g_template.c
index 34541c06..f216b104 100644
--- a/pd/src/g_template.c
+++ b/pd/src/g_template.c
@@ -106,7 +106,7 @@ t_template *template_new(t_symbol *templatesym, int argc, t_atom *argv)
bad:
argc -= 2; argv += 2;
}
- if (templatesym->s_name)
+ if (*templatesym->s_name)
{
x->t_sym = templatesym;
pd_bind(&x->t_pdobj, x->t_sym);