]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score-scheme.cc
Issue 4379: Part_combine_iterator: simplify context substitution
[lilypond.git] / lily / score-scheme.cc
index ed930d5fa0eaabaece18055cbc3783d50e6a72d4..c8262dc7df236b89d2023853275a1cd14c81d308 100644 (file)
@@ -124,7 +124,7 @@ LY_DEFINE (ly_score_embedded_format, "ly:score-embedded-format",
   /* UGR, FIXME, these are default \layout blocks once again.  They
      suck. */
   for (vsize i = 0; !score_def && i < sc->defs_.size (); i++)
-    if (sc->defs_[i]->c_variable ("is-layout") == SCM_BOOL_T)
+    if (to_boolean (sc->defs_[i]->c_variable ("is-layout")))
       score_def = sc->defs_[i];
 
   if (!score_def)