From: David Kastrup Date: Tue, 14 Feb 2017 12:33:13 +0000 (+0100) Subject: Issue 5068: SCM/bool confusion in One_page_breaking::solve X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=b27fe425c189263be20830b09c859d27245bb550;p=lilypond.git Issue 5068: SCM/bool confusion in One_page_breaking::solve This replaces an accidentally always-true condition with the originally intended one. --- diff --git a/lily/one-page-breaking.cc b/lily/one-page-breaking.cc index 6962aaf205..bba283d961 100644 --- a/lily/one-page-breaking.cc +++ b/lily/one-page-breaking.cc @@ -94,7 +94,7 @@ One_page_breaking::solve () { SCM this_pos = scm_car (c); line_posns.push_back (scm_to_double (this_pos)); - if (scm_gr_p (this_pos, lowest_line_pos)) + if (scm_is_true (scm_gr_p (this_pos, lowest_line_pos))) lowest_line_pos = this_pos; }