From ccbb1fbb16fa3bf599314713fd13608a44787a37 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Nov 1996 21:10:12 +0000 Subject: [PATCH] lilypond-0.0.11 --- src/scommands.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scommands.cc b/src/scommands.cc index 00830e4115..2787873adb 100644 --- a/src/scommands.cc +++ b/src/scommands.cc @@ -42,7 +42,7 @@ Score_commands::last_insertion(Real w) Command*c = new Command(w); c->priority = -10000; pc.add(c); - pc ++; + pc++; } return pc; @@ -120,9 +120,9 @@ void Score_commands::insert_between(Command victim, PCursor firstc, PCursor last) { - assert(last->when==firstc->when); PCursor c(firstc+1); - assert(last.ok()); + assert(last->when==firstc->when&&firstc < last&&last.ok()); + while (c < last) { if (c->priority <= victim.priority) { c.insert(new Command(victim)); -- 2.39.5