]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-name.cc
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / lily / chord-name.cc
index 959898e3a74f085264cf2844b3e1d74e7c937b1b..db784b8d2562b9cdd8b81d3b1a43dfd59320cfac 100644 (file)
@@ -1,9 +1,9 @@
 /*
-  chord-name.cc -- implement Chord_name
+  chord-name.cc -- implement Chord_label
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2006 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1999--2009 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "chord-name.hh"
@@ -26,14 +26,15 @@ Chord_name::after_line_breaking (SCM smob)
   if (to_boolean (s))
     {
       if (me->get_column ()->get_rank ()
-         - me->get_system ()->spanned_rank_iv ()[LEFT] > 1)
+         - me->get_system ()->spanned_rank_interval ()[LEFT] > 1)
        me->suicide ();
     }
   return SCM_UNSPECIFIED;
 }
 
 ADD_INTERFACE (Chord_name,
-              "A chord name.",
+              "A chord label (name or fretboard).",
 
-              
-              "begin-of-line-visible");
+              /* properties */        
+              "begin-of-line-visible "
+              );