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: Graham Percival
Subject: Re: Issue 1336 in lilypond: skipTypesetting segfaults when set during a skipBars-induced MultiMeasureRest spanner
Date: Sat, 11 Dec 2010 18:19:14 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

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?

Cheers,
- Graham



reply via email to

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