X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpage-layout-problem.cc;h=479ac72bf72ec1152a3b4bd78affeae26fe78262;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=b0ef9ab36dbbf9004cd343246dc520d57a9c52e9;hpb=f127e14af04f474d20406ca0e0f76f05061ee103;p=lilypond.git diff --git a/lily/page-layout-problem.cc b/lily/page-layout-problem.cc index b0ef9ab36d..479ac72bf7 100644 --- a/lily/page-layout-problem.cc +++ b/lily/page-layout-problem.cc @@ -35,8 +35,6 @@ #include "text-interface.hh" #include "lily-imports.hh" -using std::vector; - /* Returns the number of footnotes associated with a given line. */ @@ -451,7 +449,7 @@ Page_layout_problem::Page_layout_problem (Paper_book *pb, SCM page_scm, SCM syst for (SCM s = systems; scm_is_pair (s); s = scm_cdr (s)) { - bool first = (s == systems); + bool first = scm_is_eq (s, systems); if (Grob *g = unsmob (scm_car (s))) {