]> git.donarmstrong.com Git - lilypond.git/commitdiff
only look at 'rest object if it's a Note_column.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 16 Jan 2007 12:14:31 +0000 (13:14 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 16 Jan 2007 12:14:31 +0000 (13:14 +0100)
lily/note-spacing.cc

index db70fc4737e4f62edcd1c486efca71302bf1044c..c4a79e403f7b18bb0313ce9a823ab481cf2cd8d3 100644 (file)
@@ -64,7 +64,8 @@ Note_spacing::get_spacing (Grob *me, Item *right_col,
              continue;
            }
 
-         if (d == LEFT)
+         if (d == LEFT
+             && Note_column::has_interface (it))
            {
              SCM r = it->get_object ("rest");
              Grob *g = unsmob_grob (r);