]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/cue-clef-engraver.cc
Doc: CG Remove section Building Ubuntu Distro
[lilypond.git] / lily / cue-clef-engraver.cc
index 33cceff59c5018832a159f6142874583cd9770f0..383c9a1b1f7c33c2150a30c8e2e8fc6444d93408 100644 (file)
@@ -171,9 +171,9 @@ Cue_clef_engraver::inspect_clef_properties ()
   SCM clefpos = get_property ("cueClefPosition");
   SCM transposition = get_property ("cueClefTransposition");
 
-  if (scm_equal_p (glyph, prev_glyph_) == SCM_BOOL_F
-      || scm_equal_p (clefpos, prev_cpos_) == SCM_BOOL_F
-      || scm_equal_p (transposition, prev_transposition_) == SCM_BOOL_F)
+  if (!ly_is_equal (glyph, prev_glyph_)
+      || !ly_is_equal (clefpos, prev_cpos_)
+      || !ly_is_equal (transposition, prev_transposition_))
     {
       set_glyph ();
       if (scm_is_string (glyph))