On Sat, Dec 11, 2010 at 05:39:09PM +0000, [email protected] 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

_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to