]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-sequence.cc
Web-ja: update introduction
[lilypond.git] / lily / music-sequence.cc
index d280953714b820c25513cd4e54ddf89b84b2ba80..644ba9beb727e5982603ba69485a1c4dfdda15b2 100644 (file)
@@ -30,7 +30,8 @@ void
 transpose_music_list (SCM lst, Pitch rq)
 {
   for (SCM s = lst; scm_is_pair (s); s = scm_cdr (s))
-    unsmob<Music> (scm_car (s))->transpose (rq);
+    if (Prob *p = unsmob<Prob> (scm_car (s)))
+      p->transpose (rq);
 }
 
 Moment