]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/double-percent-repeat-engraver.cc
Doc: NR and Usage - improved links for SVG
[lilypond.git] / lily / double-percent-repeat-engraver.cc
index cd455e008eeb8bcb1dcd3f9db5b8db834d62577b..d85648293ece82b38ed4f8a327ff8d2492783be1 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2011--2012 Neil Puttock <n.puttock@gmail.com>
+  Copyright (C) 2011--2015 Neil Puttock <n.puttock@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -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