On 12/11/10 11:19 AM, "Graham Percival" <gra...@percival-music.ca> wrote:

> On Sat, Dec 11, 2010 at 05:39:09PM +0000, lilyp...@googlecode.com wrote:
>> 
>> @@ -393,6 +393,8 @@ vector<Real>
>>  get_line_forces (vector<Grob*> const &columns,
>>                  Real line_len, Real indent, bool ragged)
>>  {
>> +  if (columns.size () < 2)
>> +      error (_ ("no music remaining to typeset"));
>>    vector<vsize> breaks;
>>    vector<Real> force;
>>    vector<Grob*> non_loose;
> 
> Doesn't this need an "exit" in there?  I mean, we don't want the
> program to keep on executing the function, right?
> 


The error call includes an exit.

Thanks,

Carl


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to