]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-function.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / music-function.cc
index e077624fe60f26df5d4618a5cc9173c85335480a..8f0f7813d9d96b82333f773de3cc82da7cbe67b8 100644 (file)
@@ -33,13 +33,15 @@ LY_DEFINE (ly_make_music_function, "ly:make-music-function", 2, 0, 0,
           "Its arguments. @code{signature} is a list containing either "
           "@code{ly:music?} predicates or other type predicates.")
 {
-  String str = "";
+  extern SCM ly_music_p_proc;
+  
+  string str = "";
   for (SCM s = signature; scm_is_pair (s); s = scm_cdr (s))
     {
       if (str != "")
        str += "-";
 
-      if (scm_car (s) == Music_type_p_proc)
+      if (scm_car (s) == ly_music_p_proc)
        str += "music";
       else if (scm_car (s) == ly_lily_module_constant ("markup?"))
        str += "markup";