]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-performer.cc
Run sort-lines on .gitignore.
[lilypond.git] / lily / key-performer.cc
index 9bb8b11a48edcabdfbb3330ebb24d85a2f60bee0..32f94a632ed1356aaa48394432237f901ce9d28c 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1997--2007 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "audio-item.hh"
@@ -52,7 +52,7 @@ Key_performer::process_music ()
 
       Pitch key_do (0,
                    scm_to_int (scm_caar (pitchlist)),
-                   scm_to_int (scm_cdar (pitchlist)));
+                   ly_scm2rational (scm_cdar (pitchlist)));
 
       Pitch c_do (0, 0, 0);