]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-head.cc
Fix [a8 a32].
[lilypond.git] / lily / note-head.cc
index 2cc60c17b691860bd1dd6227b57c14afdbba191d..4b2596c298f19376dcf4b35d74e51fa5a44cb3d9 100644 (file)
@@ -186,7 +186,8 @@ Note_head::brew_molecule (SCM smob)
 Interval
 Note_head::head_extent (Grob *me, Axis a)
 {
-  return me->get_molecule()->extent (a);
+  Molecule * mol = me->get_molecule();
+  return mol ? mol ->extent (a) : Interval(0,0);
 }