]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/double-percent-repeat-engraver.cc
Doc: Extending - 1.3.4 - clarify description for 'addAccent' function example
[lilypond.git] / lily / double-percent-repeat-engraver.cc
index 2569adbf142be9f46c52319e4f33dddfbf3bd13b..d85648293ece82b38ed4f8a327ff8d2492783be1 100644 (file)
@@ -73,7 +73,7 @@ Double_percent_repeat_engraver::process_music ()
                                         percent_event_->self_scm ());
 
       SCM count = percent_event_->get_property ("repeat-count");
-      if (count != SCM_EOL && to_boolean (get_property ("countPercentRepeats"))
+      if (!scm_is_null (count) && to_boolean (get_property ("countPercentRepeats"))
           && check_repeat_count_visibility (context (), count))
         {
           Item *double_percent_counter