X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchord-name.cc;h=8a2d33579a6ad8eacbfc45dc696898f6a4a474f8;hb=abf0f7e73103716d60c235fa61d938754d9f3a06;hp=8ff3ffe763cbba2389e835da0e962d2d6290c1cb;hpb=16cb456cabf477f6d398ff731aa0f10b60913394;p=lilypond.git diff --git a/lily/chord-name.cc b/lily/chord-name.cc index 8ff3ffe763..8a2d33579a 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--2010 Jan Nieuwenhuizen - (c) 1999--2007 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 " + );