lilypond-devel
[Top][All Lists]
Advanced

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

Re: Bugfix for issue 1630 (issue4490045)


From: Benkő Pál
Subject: Re: Bugfix for issue 1630 (issue4490045)
Date: Sat, 28 May 2011 18:13:43 +0200

aargh, that's not too readable.
what I actually suggest is replacing lines 204-207 of

> http://codereview.appspot.com/4490045/diff/12001/lily/completion-note-heads-engraver.cc
> File lily/completion-note-heads-engraver.cc (right):

204       if ((left_to_do_ - note_dur.get_length ()) > Rational (0))
205         event->set_property("autosplit-end", ly_bool2scm (true));
206       else
207         event->set_property("autosplit-end", ly_bool2scm (false));

by

   event->set_property ("autosplit-end",
     ly_bool2scm (left_to_do_ - note_dur.get_length () > 0));

Pal



reply via email to

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