bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1336 in lilypond: skipTypesetting segfaults when set during a


From: Carl Sorensen
Subject: Re: Issue 1336 in lilypond: skipTypesetting segfaults when set during a skipBars-induced MultiMeasureRest spanner
Date: Sat, 11 Dec 2010 11:20:36 -0700



On 12/11/10 11:19 AM, "Graham Percival" <address@hidden> wrote:

> On Sat, Dec 11, 2010 at 05:39:09PM +0000, address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]