Commit 84086f01 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port d1e4c344d9a1022b1e960ca0a39c0232d68aad1d from Pd-l2ork: made initbang and...

port d1e4c344d9a1022b1e960ca0a39c0232d68aad1d from Pd-l2ork: made initbang and closebang disabled if -noloadbang flag is used
parent 2d701084
......@@ -148,7 +148,7 @@ static void *initbang_new(void)
}
static void initbang_loadbang(t_initbang *x, t_float type) {
if (LB_INIT == (int)type)
if (!sys_noloadbang && LB_INIT == (int)type)
outlet_bang(x->x_obj.ob_outlet);
}
......@@ -179,7 +179,7 @@ static void *closebang_new(void)
static void closebang_loadbang(t_closebang *x, t_float type)
{
if (LB_CLOSE == (int)type)
if (!sys_noloadbang && LB_CLOSE == (int)type)
outlet_bang(x->x_obj.ob_outlet);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment