]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/repeat-acknowledge-engraver.cc
Fix crash when output-preview-framework is missing
[lilypond.git] / lily / repeat-acknowledge-engraver.cc
index 209c7d501731f791d9121338c9b2db9fabfc204f..4e4b91e3a27104452df81d56e3ca29b28853d4a5 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2000--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2000--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "engraver.hh"
@@ -83,7 +83,7 @@ Repeat_acknowledge_engraver::process_music ()
     }
 
   if (start && end)
-    s = ":|:";
+    s = robust_scm2string (get_property ("doubleRepeatType"), ":|:");
   else if (start)
     s = "|:";
   else if (end)
@@ -108,14 +108,15 @@ Repeat_acknowledge_engraver::process_music ()
 
 ADD_TRANSLATOR (Repeat_acknowledge_engraver,
                /* doc */
-               "Acknowledge repeated music, and convert the contents of "
-               "@code{repeatCommands} into an appropriate setting for "
-               "@code{whichBar}.",
+               "Acknowledge repeated music, and convert the contents of"
+               " @code{repeatCommands} into an appropriate setting for"
+               " @code{whichBar}.",
 
                /* create */
                "",
 
                /* read */
+               "doubleRepeatType "
                "repeatCommands "
                "whichBar ",