]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 7 Sep 2006 21:30:59 +0000 (21:30 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 7 Sep 2006 21:30:59 +0000 (21:30 +0000)
ChangeLog
lily/note-collision.cc

index 1877efe52b0bbe544d99c81a0d75af260896ae4f..84f0d84124e6108c8b232a00f44f28bebc17035d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
 
 2006-09-07  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * lily/note-collision.cc (calc_positioning_done): only access
+       first head if available.
+
        * lily/tuplet-engraver.cc: add tupletFullLengthNote to description.
 
        * scm/framework-ps.scm (output-preview-framework): use new name.
index 1df0a6c7aba7f8d0ff68ef226ee174fae7c089b8..e84e5263c63a57160ce55f577232db2e40a40e83 100644 (file)
@@ -305,7 +305,9 @@ Note_collision_interface::calc_positioning_done (SCM smob)
       if (cg[d].size ())
        {
          Grob *h = cg[d][0];
-         wid = Note_column::first_head (h)->extent (h, X_AXIS).length ();
+         Grob *fh = Note_column::first_head (h);
+         if (fh)
+           wid = fh->extent (h, X_AXIS).length ();
        }
     }
   while (flip (&d) != UP);