]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-layout-problem.cc
Replace C++ (in)equality checks with proper SCM syntax
[lilypond.git] / lily / page-layout-problem.cc
index 426299f0ad08001f480890a5081de8a8e6bd8b8e..6fe02c8bad04b73080e1f6a123f7bbe534a6b321 100644 (file)
@@ -58,7 +58,7 @@ Page_layout_problem::get_footnote_grobs (SCM lines)
       else if (Prob *p = Prob::unsmob (scm_car (s)))
         {
           SCM stencils = p->get_property ("footnotes");
-          if (stencils == SCM_EOL)
+          if (scm_is_null (stencils))
             continue;
           for (SCM st = stencils; scm_is_pair (st); st = scm_cdr (st))
             footnotes.push_back (0);