]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-tremolo-engraver.cc
(tex-encoded-fontswitch): use
[lilypond.git] / lily / chord-tremolo-engraver.cc
index 6d4160ea66036dc7df5904197c7b4714e328f126..a67946fe7b236e813ea9e29f7d5349300ad6b7f9 100644 (file)
@@ -95,7 +95,7 @@ Chord_tremolo_engraver::try_music (Music * m)
 
       int elt_count = seq ? scm_ilength (seq-> music_list ()) : 1;
 
-      if (elt_count != 2)
+      if (seq && elt_count != 2)
        {
          rp->origin ()->warning (_f ("Chord tremolo with %d elements. Must have two elements.", elt_count));
        }