]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/item.cc
Fix beamlet pointing wrong way in tuplets (issue 11).
[lilypond.git] / lily / item.cc
index 6a468a6830607f6522f786c7dc15cfefdebdd5b8..c3718796e011e9a3e4aaff55028df44c344431d7 100644 (file)
@@ -130,6 +130,15 @@ Item::find_broken_piece (System *l) const
   return 0;
 }
 
+Item *
+Item::maybe_find_prebroken_piece (Item *g, Direction d)
+{
+  Item *ret = g->find_prebroken_piece (d);
+  if (ret)
+    return ret;
+  return g;
+}
+
 Item *
 Item::find_prebroken_piece (Direction d) const
 {