lilypond-devel
[Top][All Lists]
Advanced

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

Re: strange conditionals in bar-line.cc


From: Keith OHara
Subject: Re: strange conditionals in bar-line.cc
Date: Sun, 25 Mar 2012 18:27:46 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Marc Hohl <marc <at> hohlart.de> writes:

> if (str == "|." || ( h == 0 && str == ":|"))
> 
> IIUC, h == 0 could never be true, isn't it?
> 

The current users of the function never ask it to print a zero-height
bar line.  It is still a good thing that the function handles the case
with zero-height correctly (in this case, excluding the repeat-dots 
from the width).

By the way, there was a patch recently changing bar extents
http://code.google.com/p/lilypond/issues/detail?id=1268
although it didn't change the particular thing you mention above.




reply via email to

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