]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-collision.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / note-collision.cc
index e84e5263c63a57160ce55f577232db2e40a40e83..1df0a6c7aba7f8d0ff68ef226ee174fae7c089b8 100644 (file)
@@ -305,9 +305,7 @@ Note_collision_interface::calc_positioning_done (SCM smob)
       if (cg[d].size ())
        {
          Grob *h = cg[d][0];
-         Grob *fh = Note_column::first_head (h);
-         if (fh)
-           wid = fh->extent (h, X_AXIS).length ();
+         wid = Note_column::first_head (h)->extent (h, X_AXIS).length ();
        }
     }
   while (flip (&d) != UP);