From b27fe425c189263be20830b09c859d27245bb550 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Tue, 14 Feb 2017 13:33:13 +0100 Subject: [PATCH 1/1] Issue 5068: SCM/bool confusion in One_page_breaking::solve This replaces an accidentally always-true condition with the originally intended one. --- lily/one-page-breaking.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2