]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-name.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / chord-name.cc
index ac7d92f4d7cba3d872e6bb80189590a734c2b7df..e929046db489337a6db51e3b1a3862dc781f3548 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1999--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "chord-name.hh"
@@ -25,7 +25,7 @@ Chord_name::after_line_breaking (SCM smob)
   SCM s = me->get_property ("begin-of-line-visible");
   if (to_boolean (s))
     {
-      if (Paper_column::get_rank (me->get_column ())
+      if (me->get_column ()->get_rank ()
          - me->get_system ()->spanned_rank_iv ()[LEFT] > 1)
        me->suicide ();
     }
@@ -34,4 +34,6 @@ Chord_name::after_line_breaking (SCM smob)
 
 ADD_INTERFACE (Chord_name, "chord-name-interface",
               "A chord name.",
+
+              
               "begin-of-line-visible");