]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3305: footnote-footer-padding is not considered correctly
authorDavid Kastrup <dak@gnu.org>
Thu, 4 Apr 2013 07:32:06 +0000 (09:32 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 9 Apr 2013 13:46:01 +0000 (15:46 +0200)
Sign error because of self-defeatingly clever use of ?: operator.
This patch does not cure the obfuscation, merely fixes the resulting
error.

lily/page-spacing.cc

index c2988d8502e37785a54ebf658932710aa310c6bb..a705827d2274df700b56503bc8b60bb06d58dcb8 100644 (file)
@@ -102,8 +102,8 @@ Page_spacing::account_for_footnotes (Line_details const &line)
              : 0.0))
          +
          (footnote_height
-          - (has_footnotes_
-             ? breaker_->footnote_padding () + breaker_->footnote_footer_padding ()
+          + (has_footnotes_
+             ? breaker_->footnote_padding () + breaker_->footnote_footer_padding ()
              : 0.0));
 }