X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchord-name.cc;h=ad0d91d3dbc9b85140d380b7eb98b2a64e54c1ec;hb=88dbdd2d6b48e4d042f3aa076bdbf038ed6b3d28;hp=959898e3a74f085264cf2844b3e1d74e7c937b1b;hpb=2c8c61b3a5cddbb155786a1ca027528701c91ac9;p=lilypond.git diff --git a/lily/chord-name.cc b/lily/chord-name.cc index 959898e3a7..ad0d91d3db 100644 --- a/lily/chord-name.cc +++ b/lily/chord-name.cc @@ -1,9 +1,20 @@ /* - chord-name.cc -- implement Chord_name + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1999--2011 Jan Nieuwenhuizen - (c) 1999--2006 Jan Nieuwenhuizen + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "chord-name.hh" @@ -26,14 +37,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 " + );