]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/break-align-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / break-align-engraver.cc
index 9fde23e6b779130018762f16b4ec4a88e5df02f7..e6a7935c568c5283aeed26671cf39a7b1ec39c73 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 #include "engraver.hh"
 #include "protected-scm.hh"
@@ -63,9 +63,7 @@ Break_align_engraver::acknowledge_break_aligned (Grob_info inf)
       if (item->get_parent (X_AXIS))
        return;
 
-      SCM bp = item->get_property ("breakable");
-      bool breakable = (to_boolean (bp));
-      if (!breakable)
+      if (!Item::is_non_musical (item))
        return;
 
       SCM align_name = item->get_property ("break-align-symbol");