From 423d3ecd57b210d77994aa9257295adef1ba4d09 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:27:50 +0000 Subject: [PATCH] lilypond-0.0.23 --- src/getcommands.cc | 8 ++++---- src/staffcommands.cc | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/getcommands.cc b/src/getcommands.cc index 6545c0ec1c..a11e2c0fe3 100644 --- a/src/getcommands.cc +++ b/src/getcommands.cc @@ -49,10 +49,7 @@ split_bar_command(Command &pre_com, Command &no_break_com, Command &post_com, if(s=="default") s = "|"; - if (s == "|" || s == ":|" || s == "||") { - c.args.add(s); - pre_com= no_break_com= c; - } else if (s == ":|:") { + if (s == ":|:") { no_break_com=post_com=pre_com = c; pre_com.args.add( ":|"); @@ -61,5 +58,8 @@ split_bar_command(Command &pre_com, Command &no_break_com, Command &post_com, }else if (s=="|:") { c.args.add(s); no_break_com=post_com=c; + } else { + c.args.add(s); + pre_com= no_break_com= c; } } diff --git a/src/staffcommands.cc b/src/staffcommands.cc index f99a3d9726..82286bd7d6 100644 --- a/src/staffcommands.cc +++ b/src/staffcommands.cc @@ -8,6 +8,7 @@ Staff_commands_at::when() { return tdescription_.when; } + void Staff_commands_at::print() const { -- 2.39.5