]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.17
authorfred <fred>
Sat, 14 Dec 1996 12:11:32 +0000 (12:11 +0000)
committerfred <fred>
Sat, 14 Dec 1996 12:11:32 +0000 (12:11 +0000)
src/key.cc

index 0a5af6ffd79acc28aad423c94201da84320c820a..dac8c266ec2240c641e325e9b813b07d261c3575 100644 (file)
@@ -63,7 +63,7 @@ Key::oldkey_undo(svec<Scalar>s)
     for (int i=0; i < newkey.sz(); i++)
        newkey[i] = 0;
        
-    for (int i=0; i < s.sz(); i++) {
+    for (int i=0; i < s.sz(); ) {
        int large = s[i++];
        int small = s[i++];
        newkey[large] = small;