]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-spacing.cc
''
[lilypond.git] / lily / note-spacing.cc
index 95ba49aa64a7a271f06dd4261dddb62ace9e0cbf..afd1a0962f91bff6545127dd452c698607befb65 100644 (file)
@@ -119,7 +119,7 @@ Note_spacing::get_spacing (Grob *me, Item* right_col,
 Item *
 Note_spacing::left_column (Grob *me)
 {
-  if (me->immutable_property_alist_ == SCM_EOL)
+  if (!me->live())
     return 0;
   
   return dynamic_cast<Item*> (me)->column_l ();
@@ -136,10 +136,7 @@ prune RIGHT-ITEMS.
 Item *
 Note_spacing::right_column (Grob*me)
 {
-  /*
-    ugh. should have generic is_live() method?
-   */
-  if (me->immutable_property_alist_ == SCM_EOL)
+  if (!me->live())
     return 0;
   
   SCM right = me->get_grob_property ("right-items");