Utrecht/Eindhoven, The Netherlands, July 2002.
+@menu
+* Notes to version 2.2::
+@end menu
+
@node Notes to version 2.2
@unnumberedsec Notes to version 2.2
if (last)
{
Context * dest =
- get_outlet ()->find_existing_context (to_type, to_id, SCM_EOL);
+ get_outlet ()->find_existing_context (to_type, to_id);
+ if (dest)
+ {
current->remove_context (last);
dest->add_context (last);
+ }
+ else
+ {
+ get_music ()->origin ()->warning ("Could not find context to switch to.");
+ }
}
else
{
if (list_len != 2)
seq->origin ()->warning ("Chord tremolo must have 2 elements.");
shift -= 1;
- r->compress (Moment (Rational (1,list_len)));
+ r->compress (Moment (Rational (1, list_len)));
}
gh_call3 (func, r->self_scm (), gh_int2scm (shift),gh_int2scm (dots));