]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relative-octave-check.cc
(find_font): Add "lm" to try-AFM-first
[lilypond.git] / lily / relative-octave-check.cc
index 4a6ff01f0124d9a3aa12adbda12260d0899507a9..ee22516c07732a455509597ebd1ed63c013647eb 100644 (file)
@@ -1,4 +1,5 @@
 #include "relative-octave-check.hh"
+
 #include "input.hh"
 #include "pitch.hh"
 
 Pitch
 Relative_octave_check::to_relative_octave (Pitch p)
 {
-  Pitch * check_p = unsmob_pitch (get_mus_property ("pitch"));
+  Pitch * check_p = unsmob_pitch (get_property ("pitch"));
 
   int delta_oct = 0;
   if (check_p)
     {
       Pitch no_octave (-1,
                       check_p->get_notename (),
-                      check_p->get_alteration());
+                      check_p->get_alteration ());
 
       Pitch result = no_octave.to_relative_octave (p);
 
@@ -31,8 +32,8 @@ Relative_octave_check::to_relative_octave (Pitch p)
        }
     }
   
-  return  Pitch   (p.get_octave () + delta_oct,
-             p.get_notename (), p.get_alteration ());
+  return  Pitch (p.get_octave () + delta_oct,
+                p.get_notename (), p.get_alteration ());
 }
 
-ADD_MUSIC(Relative_octave_check);
+ADD_MUSIC (Relative_octave_check);