]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.23
authorfred <fred>
Sun, 24 Mar 2002 19:27:50 +0000 (19:27 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:27:50 +0000 (19:27 +0000)
src/getcommands.cc
src/staffcommands.cc

index 6545c0ec1c083f5cb445aa0c74d73cb3552dbb61..a11e2c0fe32b42be73231a44f93b0b4f9f83ffcc 100644 (file)
@@ -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;       
     } 
 }
index f99a3d9726678920242fc4fd52ff103a475463c1..82286bd7d64b4d6ab3da21f1f82fb700fbd638a2 100644 (file)
@@ -8,6 +8,7 @@ Staff_commands_at::when()
 {
     return tdescription_.when;
 }
+
 void
 Staff_commands_at::print() const
 {