[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugfix for issue 1630 (issue4490045)
From: |
Carl . D . Sorensen |
Subject: |
Re: Bugfix for issue 1630 (issue4490045) |
Date: |
Sat, 28 May 2011 17:45:33 +0000 |
On 2011/05/28 16:13:43, benko.pal wrote:
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
That was the original code. It was pointed out (see Neil's comment
above) that the only check on this is whether or not it is greater than
zero, so a boolean works. Hence, the code was changed to use a boolean.
http://codereview.appspot.com/4490045/
- Re: Bugfix for issue 1630 (issue4490045), (continued)
- Re: Bugfix for issue 1630 (issue4490045), Janek Warchoł, 2011/05/07
- Re: Bugfix for issue 1630 (issue4490045), tdanielsmusic, 2011/05/08
- Re: Bugfix for issue 1630 (issue4490045), n . puttock, 2011/05/09
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/09
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/26
- Re: Bugfix for issue 1630 (issue4490045), percival . music . ca, 2011/05/26
- Re: Bugfix for issue 1630 (issue4490045), lemniskata . bernoullego, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), benko . pal, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045),
Carl . D . Sorensen <=
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), Carl . D . Sorensen, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), percival . music . ca, 2011/05/30
- Re: Bugfix for issue 1630 (issue4490045), lemniskata . bernoullego, 2011/05/30
- Re: Bugfix for issue 1630 (issue4490045), Carl . D . Sorensen, 2011/05/30
- Re: Bugfix for issue 1630 (issue4490045), benko . pal, 2011/05/30