]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
Fix crash on stemlets without a head.
[lilypond.git] / lily / stem.cc
index 9d39552f574563dd1fa166ec38e86215a58c1acf..e63b96019ae4adadf54fc6812d53be95c9a139ff 100644 (file)
@@ -702,7 +702,7 @@ Stem::print (SCM smob)
   if (!lh && stemlet && !beam)
     return SCM_EOL;
 
-  if (robust_scm2int (lh->get_property ("duration-log"), 0) < 1) 
+  if (lh && robust_scm2int (lh->get_property ("duration-log"), 0) < 1) 
     return SCM_EOL;
 
   if (is_invisible (me))