From: fred Date: Sun, 24 Mar 2002 19:27:50 +0000 (+0000) Subject: lilypond-0.0.23 X-Git-Tag: release/1.5.59~5615 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=423d3ecd57b210d77994aa9257295adef1ba4d09;p=lilypond.git lilypond-0.0.23 --- 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 {