]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/clef-engraver.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / clef-engraver.cc
index 5d30ce07c23c0e27af418ef7c222120f16935e34..05c9420623b99047d49451c20528525bf0d32335 100644 (file)
@@ -191,12 +191,13 @@ Clef_engraver::stop_translation_timestep ()
 {
   if (clef_)
     {
-      SCM vis = 0;
       if (to_boolean (clef_->get_property ("non-default")))
-        vis = get_property ("explicitClefVisibility");
+        {
+          SCM vis = get_property ("explicitClefVisibility");
 
-      if (vis)
-        clef_->set_property ("break-visibility", vis);
+          if (scm_is_vector (vis))
+            clef_->set_property ("break-visibility", vis);
+        }
 
       clef_ = 0;