aboutsummaryrefslogtreecommitdiff
path: root/composer/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/pattern.c')
-rw-r--r--composer/pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/pattern.c b/composer/pattern.c
index 42109fe..6772b6b 100644
--- a/composer/pattern.c
+++ b/composer/pattern.c
@@ -107,7 +107,7 @@ static void pattern_resize_cols(t_pattern* x, t_int newcols) {
}
static void pattern_init_cell(t_atom* a) {
- SETSYMBOL(a, gensym("empty"));
+ if(a) SETSYMBOL(a, gensym("empty"));
}
static void pattern_new_empty_row(t_pattern* x) {