X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fbreak-substitution.cc;h=cbc88255f33aac0af32b6b89f0e20ec2053ffaf5;hb=b950bfac562447bf1870db4bfcbaa9ecbd3e1c0e;hp=20ae27b01ffc6fa3e1630da61542de2698068e68;hpb=f0c31bd9482c26b46929203cf50b0773a412f5ea;p=lilypond.git diff --git a/lily/break-substitution.cc b/lily/break-substitution.cc index 20ae27b01f..cbc88255f3 100644 --- a/lily/break-substitution.cc +++ b/lily/break-substitution.cc @@ -1,18 +1,29 @@ /* - break-substitution.cc -- implement grob break substitution. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2001--2010 Han-Wen Nienhuys - (c) 2001--2006 Han-Wen Nienhuys + 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 #include using namespace std; -#include "grob-array.hh" #include "item.hh" #include "system.hh" +#include "grob-array.hh" static SCM break_criterion; void @@ -263,6 +274,8 @@ grob_system_range (Grob *g) struct Substitution_entry { Grob *grob_; + + /* Assumption: we have less than 32k paper columns. */ short left_; short right_;