X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Funpure-pure-container.cc;h=2dff6eea992a402c7beaeaf567f6611ef41164c9;hb=578ae1fcca02ea107f58aea50f823c0c688d9eba;hp=d5962bd028d29f9014e0ca612fa28bb5a44f67ab;hpb=958e95822083954cad00e0a598eb9f12ceba67b9;p=lilypond.git diff --git a/lily/unpure-pure-container.cc b/lily/unpure-pure-container.cc index d5962bd028..2dff6eea99 100644 --- a/lily/unpure-pure-container.cc +++ b/lily/unpure-pure-container.cc @@ -29,9 +29,8 @@ public: SCM call (SCM arg1, SCM arg2, SCM rest) { return scm_apply_0 (scm1 (), - scm_call_2 (ly_lily_module_constant ("drop-right"), - scm_cons2 (arg1, arg2, rest), - scm_from_int (2))); + scm_list_head (scm_cons2 (arg1, arg2, rest), + scm_length (rest))); } }; @@ -73,7 +72,7 @@ LY_DEFINE (ly_unpure_pure_container_pure_part, "ly:unpure-pure-container-pure-pa } int -Unpure_pure_container::print_smob (SCM port, scm_print_state *) +Unpure_pure_container::print_smob (SCM port, scm_print_state *) const { scm_puts ("#