]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relative-octave-check.cc
* tex/lilyponddefs.tex (\lyitem): Don't use \topalign to make
[lilypond.git] / lily / relative-octave-check.cc
index 4a6ff01f0124d9a3aa12adbda12260d0899507a9..fedc58b9be1b4c5ee4bcf42401ce8ae64f0eea0f 100644 (file)
@@ -9,14 +9,14 @@
 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 +31,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);