Commit 52319ac3 authored by pokergaming's avatar pokergaming

Fix missing object argument name in warning

parent c9906dbf
...@@ -247,7 +247,7 @@ void *samm_new(t_symbol *msg, short argc, t_atom *argv) ...@@ -247,7 +247,7 @@ void *samm_new(t_symbol *msg, short argc, t_atom *argv)
// If no args, set some sane defaults // If no args, set some sane defaults
if (!argc){ if (!argc){
post("%s: warning: no tempo or beat streams provided: setting " post("%s: warning: no tempo or beat streams provided: setting "
"tempo to 120 BPM and 1 stream to '1'"); "tempo to 120 BPM and 1 stream to '1'",OBJECT_NAME);
SETFLOAT(sane_defaults, default_tempo); SETFLOAT(sane_defaults, default_tempo);
SETFLOAT(sane_defaults+1, 1.); SETFLOAT(sane_defaults+1, 1.);
argc = 2; argc = 2;
......
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