]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "lily/stem-engraver.cc: Improve error message for incompatible durations while...
authorDavid Kastrup <dak@gnu.org>
Thu, 7 Apr 2011 19:19:23 +0000 (21:19 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 7 Apr 2011 19:19:23 +0000 (21:19 +0200)
This reverts commit b13f1ae311325d05589dd87fd6e04098de1d3538.

lily/stem-engraver.cc

index 738eaf8d1eec7e0cd4e2202f2b66c1d6c8fec53b..ae5af1a3c451161d06ab0a823c0800ad4ee21d7e 100644 (file)
@@ -152,10 +152,9 @@ Stem_engraver::acknowledge_rhythmic_head (Grob_info gi)
 
   if (ds != dc) 
     {
-      ds = Stem::duration_log (stem_);
-      gi.event_cause ()->origin ()->warning (_f ("adding note head to incompatible stem (type = %d/%d)",
-                                                ds < 0 ? 1 << -ds : 1,
-                                                ds > 0 ? 1 << ds : 1));
+      // FIXME: 
+      gi.event_cause ()->origin ()->warning (_f ("adding note head to incompatible stem (type = %d)",
+                                                1 << Stem::duration_log (stem_)));
       gi.event_cause ()->origin ()->warning (_ ("maybe input should specify polyphonic voices"));
     }