Re: Strange loop executed only once!

2012-05-05 Thread Keith OHara
On Thu, 03 May 2012 16:20:45 -0700, Łukasz Czerwiński milimet...@gmail.com wrote: On 3 May 2012 04:18, Keith OHara k-ohara5...@oco.net wrote: On Wed, 02 May 2012 17:12:33 -0700, Łukasz Czerwiński And where to find what's min_length_fraction for? Googling that didn't help... It is a local

Re: Strange loop executed only once!

2012-05-03 Thread Łukasz Czerwiński
On 3 May 2012 04:18, Keith OHara k-ohara5...@oco.net wrote: On Wed, 02 May 2012 17:12:33 -0700, Łukasz Czerwiński milimet...@gmail.com wrote: On 22 April 2012 13:28, Han-Wen Nienhuys hanw...@gmail.com wrote: this also looks a little suspect: Real total_head_length =

Re: Strange loop executed only once!

2012-05-02 Thread Łukasz Czerwiński
On 22 April 2012 13:28, Han-Wen Nienhuys hanw...@gmail.com wrote: On Sun, Apr 22, 2012 at 7:20 AM, Łukasz Czerwiński milimet...@gmail.com wrote: Hi, I have spotted a strange loop in lily/ledger-line-spanner.cc (lines 46-69): Direction d = UP; do { .

Re: Strange loop executed only once!

2012-05-02 Thread Keith OHara
On Wed, 02 May 2012 17:12:33 -0700, Łukasz Czerwiński milimet...@gmail.com wrote: On 22 April 2012 13:28, Han-Wen Nienhuys hanw...@gmail.com wrote: this also looks a little suspect: Real total_head_length = previous_extents[d].length () +

Strange loop executed only once!

2012-04-22 Thread Łukasz Czerwiński
Hi, I have spotted a strange loop in lily/ledger-line-spanner.cc (lines 46-69): Direction d = UP; do { . } while (flip (d) != DOWN); *It will be executed only once - with d set to UP.* To be executed for d = UP and then d = DOWN, it should be: while (flip (d) !=

Re: Strange loop executed only once!

2012-04-22 Thread Han-Wen Nienhuys
On Sun, Apr 22, 2012 at 7:20 AM, Łukasz Czerwiński milimet...@gmail.com wrote: Hi, I have spotted a strange loop in lily/ledger-line-spanner.cc (lines 46-69): Direction d = UP;   do     {       .     }   while (flip (d) != DOWN); It will be executed only once - with d set