Skip to content
Snippets Groups Projects
Commit e281c7a2 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'initbang-fix'

parents 6624eb54 52f60ebe
No related branches found
No related tags found
No related merge requests found
......@@ -1693,7 +1693,8 @@ void binbuf_evalfile(t_symbol *name, t_symbol *dir)
b = newb;
}
binbuf_eval(b, 0, 0, 0);
canvas_initbang((t_canvas *)(s__X.s_thing)); /* JMZ*/
if (s__X.s_thing && pd_class(s__X.s_thing) == canvas_class)
canvas_initbang((t_canvas *)(s__X.s_thing));
gensym("#A")->s_thing = bounda;
s__N.s_thing = boundn;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment