]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/mark-engraver.cc
* Documentation/user/refman.itely: Compile fix for \mark #'(music ...).
[lilypond.git] / lily / mark-engraver.cc
index e39e57e66d0a4128d18336739f8d66d440829d45..f495cf9501ad1abc195d302edc49d595b794b704 100644 (file)
@@ -57,7 +57,7 @@ void
 Mark_engraver::acknowledge_grob (Grob_info inf)
 {
   Grob * s = inf.grob_l_;
- if (text_p_ && Bar_line::has_interface (s))
 if (text_p_ && Bar_line::has_interface (s))
     {
       /*
        Ugh. Figure out how to do this right at beginning of line, (without
@@ -139,9 +139,8 @@ Mark_engraver::process_music ()
        text_p_->set_grob_property ("text",m);
       else 
        {
-         if (!gh_string_p (m)) 
+         if (!gh_string_p (m) && !gh_number_p (m)
            m =  get_property ("rehearsalMark");
-         ;
          
          if (gh_number_p (m))
            {