]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-spacing.cc
Merge http://git.sv.gnu.org/r/lilypond
[lilypond.git] / lily / note-spacing.cc
index db70fc4737e4f62edcd1c486efca71302bf1044c..2839309ecb39c39aa065a1a2cc87b2693babb0dd 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);
@@ -78,7 +79,7 @@ Note_spacing::get_spacing (Grob *me, Item *right_col,
              if (g)
                {
                  if (g->common_refpoint (it_col, X_AXIS) != it_col)
-                   programming_error ("Note_spacing::get_spacing(): Common refpoint incorrect");
+                   programming_error ("Note_spacing::get_spacing (): Common refpoint incorrect");
                  else
                    left_head_wid = g->extent (it_col, X_AXIS);
                }